[LyX/master] Fix up 'Reduce metrics updates from 4 to 1 when loading file'

Scott Kostyshak skostysh at lyx.org
Mon May 6 16:06:43 UTC 2024


On Mon, May 06, 2024 at 12:00:58PM GMT, Scott Kostyshak wrote:
> On Tue, Apr 30, 2024 at 10:11:29AM GMT, Jean-Marc Lasgouttes wrote:
> > commit 527984ed2e0269861f5e1efc021fa0302d80819b
> > Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
> > Date:   Mon Apr 29 14:22:57 2024 +0200
> > 
> >     Fix up 'Reduce metrics updates from 4 to 1 when loading file'
> >     
> >     The missing metrics computation meant that, when loading a file, the
> >     workarea would not be scrolled correctly to show the cursor.
> >     
> >     The resizeBufferView does not create an additional metrics
> >     computation, it just triggers it earlier.
> > ---
> 
> Now when I start up LyX with no document (such that it shows the splash
> screen), and then start a new document, there seems to be a missing
> update. See attached.
> 
> Note to reproduce it might be helpful if you maximize the window after
> opening LyX, before starting a new document.
> 
> Can anyone reproduce?

By the way, I wonder if this is a Wayland-specific issue.

s.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240506/4258489c/attachment-0001.asc>


More information about the lyx-devel mailing list