Enrico Forestieri wrote:
On Tue, Apr 15, 2008 at 06:58:55PM +0200, Abdelrazak Younes wrote:

By the way, wasn't there a bug related to Qt4.4? Current svn seems to work fine. Or was it for 1.5?

LyX 1.5 crashes on startup,

Hum, I am pretty sure this is due to the scrollbar hiding/showing. Could you please try this patch to see if it fixes it?

Of course the side effect is that the scrollbar will always be visible even when there's no document.

Abdel.

Index: src/frontends/qt4/GuiWorkArea.cpp
===================================================================
--- src/frontends/qt4/GuiWorkArea.cpp   (revision 24275)
+++ src/frontends/qt4/GuiWorkArea.cpp   (working copy)
@@ -585,12 +585,10 @@
 
        if (greyed_out_) {
                LYXERR(Debug::GUI) << "splash screen requested" << endl;
-               verticalScrollBar()->hide();
                doGreyOut(pain);
                return;
        }
 
-       verticalScrollBar()->show();
        paintText(*buffer_view_, pain);
 }
 

Reply via email to