Le 20/12/2024 à 21:42, Pavel Sanda a écrit :
On Fri, Dec 20, 2024 at 04:07:03PM +0100, Jean-Marc Lasgouttes wrote:
Does this new patch help? It contains the previous one.
Yes, I can confirm that this patch "fixes" the assertion.
Can you give me a recipe using one of our documentation files, for example?
Not with our docs, but see the archive I sent you privately.
0) unpack the archive
1) open the lyx file
2) the geometry of the window has to be so that first line of section 1.1.1 is
approx at the bottom of the window. see cursor.jpg screenshot.
2) ctrl + home
3) put cursor on the end of section 1 title
4) close the window so that this caret position is saved
5) remove all figures from cache
6) reopen file, immediately after load (see on_load.jpg), hit page down
7) now this is critical: the window geometry needs to be such, that
a) the caret needs to be at the very bottom of the window and
b) sits at the section 1.4 so that the two figures from section 1.3 will
push it outside from the window when loaded and displayed. But the display
never happens as there is an assertion.
(see after_pgdown.jpg)
Note that getting window geometry right for point 7 to appear might be quite
laborious.
Pavel
Thanks for the thorough description. I will not be available to test it
right now, but I will definitely try. I agree that avoiding the
assertions is not optimal, although this make LyX more robust.
What I want is to find where the missing update is.
But it is on branch too, right? I removed less updates there, it should
be less fragile than master.
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-devel