Crash in equation paint (master)
sanda at lyx.org
Mon Feb 1 13:03:22 UTC 2021
On Mon, Feb 01, 2021 at 01:36:15PM +0100, Pavel Sanda wrote:
> On Mon, Feb 01, 2021 at 11:42:38AM +0100, Jean-Marc Lasgouttes wrote:
> > Le 01/02/2021 ?? 11:36, Pavel Sanda a écrit :
> > >Struggling to find recipy, but already happened 3x in the morning while trying to merge changes from Phil's review:
> > >
> > >1. Open math manual, go to the second table in 3.7
> > >2. Open new window 2, open new file and starting to reproduce the formula
> > >3. ctrl+m ^19
> > >4. unclear sequence of these:
> > >a) backspace to delete 19, or type something again
> > >b) zoom in/zoom out
> > >c) switch to different window/workspace (the immediate crash trigger seems to be always when activating LyX window after wandering elsewhere)
> > I'll take a look. It may be that the cache is cleared when zooming but the
> > metrics are not rebuilt.
> As I got more skillful in triggering this bug most consistent way how to trigger is
> after step 3:
> 4. Zoom in many times
> 5. switch to former window with math manual (the cursor there inside the table)
> 6. kaboom
Small updates, I get perfect reproducibility now:
- You dont need to type anything in new window 2, just zoom-in couple times is enough
- The cursor in table in window 1 is necessary, just loading up the manual is not enough.
I generally put the cursor in the middle of "phantom" string in of the first row.
- The crash happens in branch too.
More information about the lyx-devel