Some have reported problems with LyX scrolling on Windows and Mac. Robert Schulze has git-bisected his way to the root cause of the particular scrolling problem he is experiencing: http://www.lyx.org/trac/ticket/8135 I am wondering if his problem is the same as others. The patch for current branch is attached. Can anyone who has the problem on current branch 2.0.x compile and test?
Is there a way to fix the scrolling issue without causing regressions in the following? http://www.lyx.org/trac/ticket/7503 http://www.lyx.org/trac/ticket/7173 http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg170468.html For background on some scrolling problems that I think might be related, there are a lot of details here: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg90568.html and also reports from Olivier here http://www.mail-archive.com/lyx-users@lists.lyx.org/msg90218.html http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg172462.html Thanks, Scott
diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index df9dfe8..297f531 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -1085,7 +1085,7 @@ void GuiWorkArea::resizeEvent(QResizeEvent * ev) void GuiWorkArea::update(int x, int y, int w, int h) { - viewport()->update(x, y, w, h); + viewport()->repaint(x, y, w, h); }