From 9bb7f038358598da94deeeb2a156645e86fdde02 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 20 Feb 2008 15:07:36 +0000 Subject: [PATCH] Work-around scrollbar bug when returning from fullscreen mode. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23077 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 0b6fb260c2..3b8b329745 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1885,6 +1885,11 @@ void GuiView::lfunUiToggle(FuncRequest const & cmd) showFullScreen(); statusBar()->hide(); menuBar()->hide(); + if (d.current_work_area_) { + // It seems there is a bug somewhere preventing the scrollbar to + // show up with updated parameters. This work-around seems to work. + d.current_work_area_->verticalScrollBar()->show(); + } } }