On Wed, Feb 20, 2008 at 10:29:23AM +0100, Abdelrazak Younes wrote: > [EMAIL PROTECTED] wrote: > > Author: sanda > > Date: Tue Feb 19 22:27:18 2008 > > New Revision: 23068 > > > > URL: http://www.lyx.org/trac/changeset/23068 > > Log: > > Update cursor and scrollbar after resize. > > Fixes bug 4044. > > > > Modified: > > lyx-devel/trunk/src/BufferView.cpp > > > > Modified: lyx-devel/trunk/src/BufferView.cpp > > URL: > > http://www.lyx.org/trac/file/lyx-devel/trunk/src/BufferView.cpp?rev=23068 > > ============================================================================== > > --- lyx-devel/trunk/src/BufferView.cpp (original) > > +++ lyx-devel/trunk/src/BufferView.cpp Tue Feb 19 22:27:18 2008 > > @@ -1373,6 +1373,7 @@ > > updateScrollbar(); > > showCursor(); > > } > > + processUpdateFlags(Update::Force | Update::FitCursor); > > This means that the screen will jump to the cursor location in case of a > resize. Are we sure this is what we want? (I have no strong opinion > either way).
Then, this is going to be most annoying. Consider that I am skimming through a document and an element is off screen. Then, if I try to enlarge the window to see it, I am brought back to the cursor location? Very annoying. From bug 4044 it seems that the problem that is solved occurs only when the window is resized from a very small size, something that does not happen so frequently, contrarily to the example above... -- Enrico