Assertion when selecting large table in User Guide on master

Scott Kostyshak skostysh at lyx.org
Wed Jul 3 22:35:03 UTC 2024


On Wed, Jul 03, 2024 at 11:59:14PM GMT, Jean-Marc Lasgouttes wrote:
> Le 03/07/2024 à 19:34, Scott Kostyshak a écrit :
> > On Wed, Jul 03, 2024 at 05:48:23PM GMT, Jean-Marc Lasgouttes wrote:
> > > Le 03/07/2024 à 06:17, Scott Kostyshak a écrit :
> > > > I still get an assertion while selecting the phone table.
> > > 
> > > Hmm, I was two quick in my testing.
> > > 
> > > I just pushed two patches which:
> > > 1/ avoids setting Update::SinglePar in a place where this does not make
> > > sense
> > > 2/ make BufferView::singleParUpdate robust in such a case (but still emit a
> > > warning if the position was not set, which should not happen).
> > > 
> > > Please test.
> > 
> > Works well! Much harder to break, but 1 out of 30 times I still get an
> > issue. I don't have a recipe to reproduce. It has to do with scrolling
> > up fast, and then pausing (by moving the cursor down) then scrolling up
> > again. I know that's not a useful description. Does the attached
> > backtrace give a clue?
> 
> Well, it looks like the second one we had, fixed by 6e0ea4269a, but it seems
> that you found a new path to trigger it. The best would be to be able to
> reproduce it.
> 
> Can you open a ticket, please, so that it is not forgotten? I can always fix
> it with a new test, but I'd rather understand why it happens.

Sounds good, I'll try to figure out a way to reproduce it somewhat
reliably, at least on my system. I might experiment with ydotool (like
xdotool but works additionally with Wayland) to see if that helps to
reproduce.

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/20240703/b619ec69/attachment.asc>


More information about the lyx-devel mailing list