Vincent van Ravesteijn wrote:
> Pavel Sanda schreef:
>> Vincent van Ravesteijn wrote:
>>   
>>>> recipy to reproduce?
>>>>       
>>> Write a lot to lyxerr.
>>>     
>>
>> lyx -dbg any makes me waiting for 30s on all messages just to launch lyx 
>> window without single crash.
>>   
>
> I just output a counter and one time LyX crashes at 291 another time at 490 
> and so forth. Also the display of those messages get scrambled. Some are 
> even repeated a lot of times.

i have tried more scenarios with all debug msgs on and crash didnt occured,
thats why i asked about recipy and context.

anyway scrambling messages rings me a bell - is it different with the attached 
patch?

pavel
diff --git a/src/frontends/qt4/GuiProgressView.cpp 
b/src/frontends/qt4/GuiProgressView.cpp
index 2677c29..e81fad4 100644
--- a/src/frontends/qt4/GuiProgressView.cpp
+++ b/src/frontends/qt4/GuiProgressView.cpp
@@ -167,8 +167,8 @@ void GuiProgressView::appendLyXErrText(QString const & text)
        // showing Debug::ANY messages completely blocks the GUI.
        // Text is not always send as the whole line, so we must be
        // careful about eolns.
-       if (text.endsWith("\n"))
-               QApplication::processEvents();
+//     if (text.endsWith("\n"))
+//             QApplication::processEvents();
 }
 
 

Reply via email to