On Fri, Jun 15, 2018 at 02:20:14PM +0200, Jean-Marc Lasgouttes wrote:
> commit 567e94347a4d3c0f191ab731aceba2dda47f28ee
> Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
> Date:   Thu May 31 23:15:40 2018 +0200
> 
>     Skip paint event when in the middle of a buffer operation
>     
>     This is detected when an undo group is open and contains at east one
>     element. This means indeed that changes are in progress. Note that the
>     group is in general opened in GuiApplication::dispatch. The code there
>     is changed to ensure that the group is closed before updating the
>     screen.
>     
>     This patch is experimental. It is expected to be replaced in master by
>     a more complete solution. It could in the meantime be backported to 2.3.x.
>     
>     Fixes bug #11159.
>     
>     (cherry picked from commit c7496a11b2f0bd714b6c2ee0f7189ff420e014ce)
>     (cherry picked from commit 4d0c43f9aa944649d4b5788c5de98d37c280a036)

A git bisect led me here. I could reproduce the following issue on
current 2.3.x branch and current master.

To reproduce:

1. Put the cursor just before "def".
3. Go to Insert > Branch > New Branch and enter "handout".
4. The branch inset is not painted until you move the mouse, or until
   you press a keyboard button.

Can you reproduce?

Scott

Attachment: mwe10.21.lyx
Description: application/lyx

Attachment: signature.asc
Description: PGP signature

Reply via email to