Cursor painting gets stuck if space before end of inset

Scott Kostyshak skostysh at lyx.org
Fri Apr 19 01:24:04 UTC 2024


On Thu, Apr 18, 2024 at 02:59:02PM GMT, Jean-Marc Lasgouttes wrote:
> Le 12/04/2024 à 06:07, Scott Kostyshak a écrit :
> > To reproduce:
> > 
> > 1. Open the attached file.
> > 2. Put the cursor just after "testing" and before the space.
> > 3. Press <Right>.
> > 
> > Result: it looks like the cursor is frozen for a second.
> > 
> > Similarly, if after (3) you do another quick <Right> you can see two
> > cursors painted for a split second.
> 
> Could it be another instance of #12889?
> https://www.lyx.org/trac/ticket/12889

It seems similar but a bisect of this current issue leads to:

  commit 73678dcde977802d5ff3ae07f0226484041fff48
  Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
  Date:   Mon Nov 27 15:57:09 2023 +0100
  
      Avoid full metrics computation when entering/leaving inset
      
      Annotate function LFUN_FINISHED_xxx to indicate that they do not
      require a full metrics computation.
      
      Remove an "optimization" that meant that when the cursor changed
      inset, a full metrics computation was requested.
      
      Part of bug #12297

Scott
-------------- 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/20240418/379bf07c/attachment.asc>


More information about the lyx-devel mailing list