Re: breakinsets3: Vertical alignment inside a note inset

Scott Kostyshak <[email protected]>
Newsgroups gmane.editors.lyx.devel
Message-ID <aej61s3mur7Olo3S@jimmy>
On Wed, Apr 22, 2026 at 05:30:32PM +0200, Jean-Marc Lasgouttes via lyx-devel wrote:
> Le 21/04/2026 à 09:04, Scott Kostyshak a écrit :
> > I did check the README and am not sure this is known.
> > 
> > To reproduce, open the attached file.
> > 
> > The alignment of the "Vertical Space (Big skip)" is flush left. On current master (and 2.5.0) it is centered.
> 
> I think this is the same issue as the earlier issue with display math. I
> think I know how to fix it, it should be easy (but next week).
>
> > If you dissolve the note, then it is shown as I expected.
> > 
> > Bonus: if you dissolve the note, in the terminal I get the following output:
> > 
> > ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=6  boundary=0
> > ParagraphMetrics.cpp (137):  rows_.back()= pit: 0 pos: 0 end: 1 left_margin: 136 width: 627 right_margin: 59 ascent: 104 descent: 214 separator: 0 label_hfill: 0 end_boundary: 0 flushed: 1 rtl=0
> > x=136 => 0>>1 INSET: Note:Note, inset=0x64b81546efa0, width=491, row_flags=0
> 
> There is a general issue that I broke cursor positioning in the presence of
> display insets. Even a simple "aa\[x+y\]bb" is impossible to navigate
> currently. This will be less easy to fix properly, because this is code that
> I do not understand fully. It worked by chance ;) (what we call "tombé en
> marche" in French)

Sounds good, thanks for checking it out and the explanations!

s.

-- 
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+sFAmno+8kACgkQA4ZnarZH
C+sDcAgAkm0YmQmuFQnkM7iH5I7lYw/vBvxXx1y8ckcK/Udfc5JywfSuG8pR+K4H
CSixnRFzDjrBp1BgH9Zq21pprjkAyuDRbeYUal0Ho0C/g28X21AFiD+CIGBtNnpg
/nlIk01Qvcs8AUSzyKYjZPekTeUtOt+WnXqdzBbXd5YH31sNwY4zNn4NNe/TKXmo
EHvDWn20sOmEMrodLKxCkoDSPhB4O/3H0UsdRAMtfBfGMUWaJ4gH8IX1yeC22SMw
b19eHBbHCZjql34zzbyfkjo/WSO+Eb5g7QNH7AkLeVSfEbBZtMjxXaOAQRocedXX
KrV/jnn63pZet0UJFG/WaUYiR2tsgw==
=f80l
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.