Re: Hacks so I can daily-drive breakinsets3?
Scott Kostyshak <[email protected]>
| Newsgroups | gmane.editors.lyx.devel |
|---|---|
| Message-ID | <agGHLzWc5fw678Td@jimmy> |
On Sun, May 10, 2026 at 08:00:08PM +0200, Jean-Marc Lasgouttes via lyx-devel wrote:
> Le 10/05/2026 à 10:56, Scott Kostyshak a écrit :
> > For example, when I open the math manual, if I search for "Here is an
> > example" and put the cursor anywhere in there and then hold <Right>,
> > after 10 seconds of holding it I get a SIGSEGV (I assume because of the
> > math just below).
>
> I see it too, and it is because posVisRight is invoked after a
> LFUN_FINISHED_RIGHT. I fixed this code in master and adopted the change in
> brkinset3 (I rebase often anyway).
Thanks!
> > Only make that quick'n'dirty version if it wouldn't take too much time
> > and you think it would be useful (to you) for me to test the other parts
> > of the code. If not, tell me "fiche-moi la paix!" and I promise I will
> > be patient :)
>
> The quick and dirty cure is in. Two main flaws:
> 1/ the label is on every row (tell me whether this is a problem and where it
> should be if there is only one: first, largest, middle...)
>
> 2/ the label will spill on neighbor. This will probably be the most annoying
> to solve (although the other one needs thought too).
This looks great!! Thank you!
A couple of issues:
In Help > Beamer Presentations:
if you hold the <Down> arrow, the cursor eventually gets stuck. Specifically, it gets stuck inside the title inset "Default overlay/action specifications vs...."
If I press "<Down>", it does not got down.
Perhaps related to the above, but if I keep opening Beamer manually and holding <Down>, (and <Right>'ing out when I get stuck) eventually I get a SIGABRT. Sometimes this takes me a few minutes to trigger. I get the following backtrace:
Thread 1 "lyx" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:100
#3 0x00007ffff5c4579e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff5c288cd in __GI_abort () at ./stdlib/abort.c:73
#5 0x000055555593773b in lyx::lyx_exit (exit_code=1) at /home/scott/lyxbuilds/master-master/repo/src/LyX.cpp:262
#6 0x0000555556237242 in lyx::doAssertWithCallstack (value=false) at /home/scott/lyxbuilds/master-master/repo/src/support/lassert.cpp:50
#7 0x000055555623790e in lyx::doAssert (expr=0x55555626ebf1 "hasPosition()", file=0x55555626eb7d "/home/scott/lyxbuilds/master-master/repo/src/ParagraphMetrics.cpp", line=68)
at /home/scott/lyxbuilds/master-master/repo/src/support/lassert.cpp:59
#8 0x00005555559a158e in lyx::ParagraphMetrics::position (this=0x5555594938d8) at /home/scott/lyxbuilds/master-master/repo/src/ParagraphMetrics.cpp:68
#9 0x00005555557e8e99 in lyx::ParagraphMetrics::top (this=0x5555594938d8) at /home/scott/lyxbuilds/master-master/repo/src/ParagraphMetrics.h:96
#10 0x0000555555a2cff2 in lyx::TextMetrics::getPitNearY (this=0x555559438868, y=1028, strict=false) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1809
#11 0x0000555555a2d1b4 in lyx::TextMetrics::getRowNearY (this=0x555559438868, y=1028, strict=false) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1846
#12 0x0000555555a2d35e in lyx::TextMetrics::editXY (this=0x555559438868, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1868
#13 0x0000555555db3929 in lyx::InsetText::editXY (this=0x5555584183e0, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetText.cpp:317
#14 0x0000555555c53aa5 in lyx::InsetCollapsible::editXY (this=0x5555584183e0, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetCollapsible.cpp:646
#15 0x0000555555a2d4cb in lyx::TextMetrics::editXY (this=0x555559412318, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1894
#16 0x0000555555db3929 in lyx::InsetText::editXY (this=0x555558417d30, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetText.cpp:317
#17 0x0000555555c53aa5 in lyx::InsetCollapsible::editXY (this=0x555558417d30, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/insets/InsetCollapsible.cpp:646
#18 0x0000555555a2d4cb in lyx::TextMetrics::editXY (this=0x5555574c7938, cur=..., x=909, y=1028) at /home/scott/lyxbuilds/master-master/repo/src/TextMetrics.cpp:1894
#19 0x000055555584a730 in lyx::Cursor::upDownInText (this=0x555558b69638, up=false) at /home/scott/lyxbuilds/master-master/repo/src/Cursor.cpp:2269
Scott
--
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEMfkICpsJzYuNuGlOA4ZnarZHC+sFAmoBiLIACgkQA4ZnarZH C+uTWAf+Lx0vB9owVLfExB6/9NOai/niunyv/h7/9I+3WBLNXtvsjblWabDmsm9b VL7DvIAcztoD+UOUluoE8XquXo5UrtvY0t8QY8gthEFv6bsZ8uF3bxQFQl7iV/bO Z7JFDTejJE5uO1bMtTKvotvuY1AbF2MwcD3mICXmJnz6koecsWwgmhbISob9bKm+ ParHP3KCPOXuY/a+nLsPHiE9KtPIWgTPcXTDaDNngXF3SABgulqkces0l6Offq+X U5lrhtE2zFAG81EFDNXMZRpWpRsRK3rJE51xDcpHpUKe1ZRpixwQlGJJWjOngdRp Rg/bOj/rkNRnpVYjjvYVAM18u3HbLA== =ulnG -----END PGP SIGNATURE-----