Abdelrazak Younes wrote: >> heh, while i was working on this i found interesting thing - qt 4.4.0 >> (over ssh tunnel though - not sure something can change because of this) >> has not this problem. is there somebody on linux + qt 4.4 to confirm that >> flickering does not happen or somebody with win + qt 4.3 to confirm >> flickering happens (on which qt are built our installers btw?) >> > > On Mac, Qt4.3 AFAIK. On Windows, I think Uwe is using 4.3 and Joost 4.4. > Maybe you're right that this is linked to the Qt version. I cannot test > with 4.3 unfortunately.
no i have tested it on box with qt 4.4 and the problem persits. i will put something like this into trunk. pavel
diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 5d7a9fc..694c8da 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -770,6 +770,8 @@ bool GuiView::event(QEvent * e) case QEvent::ShortcutOverride: { +#ifndef Q_WS_X11 + // FIXME bug 4888 if (isFullScreen() && menuBar()->isHidden()) { QKeyEvent * ke = static_cast<QKeyEvent*>(e); // FIXME: we should also try to detect special LyX shortcut such as @@ -780,6 +782,7 @@ bool GuiView::event(QEvent * e) menuBar()->show(); return QMainWindow::event(e); } +#endif if (d.current_work_area_) // Nothing special to do. @@ -2001,6 +2004,7 @@ bool GuiView::dispatch(FuncRequest const & cmd) break; } + // Part of automatic menu appearance feature. if (isFullScreen()) { if (menuBar()->isVisible()) menuBar()->hide();