On Mon, Oct 19, 2026 at 08:54:34PM +0200, Scott Kostyshak wrote:
> On Sun, Oct 18, 2026 at 06:13:49PM +0200, Jean-Marc Lasgouttes via lyx-devel 
> wrote:
> > Le 14/10/2026 à 12:49, Scott Kostyshak a écrit :
> > > If I see messages like the following in the terminal but there is no
> > > assertion is it useful or is it related to the assertion you already
> > > know about?
> > > 
> > > ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=37  
> > > boundary=0
> > > ParagraphMetrics.cpp (137):  rows_.back()= pit=4 pos=36 end=38 xpos=-1731 
> > > left_margin=60 right_margin=0 dim: (1731, 38, 89) separator=0 
> > > label_hfill=0 boundaries: (0, 0) flushed=1 rtl=0
> > > x=-1671 => 36>>36 INSETROW: Flex:omUncover, inset=0x57cfe54e4b40, 
> > > rowidx=2, width=73, row_flags=49160
> > > x=-1598 => 36>>37 INSETEND: inset=0x57cfe54e4b40, width=4, row_flags=16392
> > > x=-1594 => 37>>38 INSET: Branch:next-time, inset=0x57cfe54e6cb0, 
> > > width=1594, row_flags=0
> > > ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=37  
> > > boundary=0
> > > ParagraphMetrics.cpp (137):  rows_.back()= pit=4 pos=36 end=38 xpos=-1731 
> > > left_margin=60 right_margin=0 dim: (1731, 38, 89) separator=0 
> > > label_hfill=0 boundaries: (0, 0) flushed=1 rtl=0
> > > x=-1671 => 36>>36 INSETROW: Flex:omUncover, inset=0x57cfe54e4b40, 
> > > rowidx=2, width=73, row_flags=49160
> > > x=-1598 => 36>>37 INSETEND: inset=0x57cfe54e4b40, width=4, row_flags=16392
> > > x=-1594 => 37>>38 INSET: Branch:next-time, inset=0x57cfe54e6cb0, 
> > > width=1594, row_flags=0
> > 
> > Do you still experience this?
> 
> Yes:
> 
> TextMetrics.cpp (2388): drawParagraph Fixing incorrect row position 
> row.x()=-67  to new value x=-322 
> TextMetrics.cpp (2388): drawParagraph Fixing incorrect row position 
> row.x()=-67  to new value x=-322 
> ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=0  
> boundary=0 
> ParagraphMetrics.cpp (137):  rows_.back()= pit=6 pos=0 end=1 xpos=-322 
> left_margin=0 right_margin=0 dim: (1644, 63, 14419) separator=0 label_hfill=0 
> boundaries: (0, 0) flushed=1 rtl=0
> x=-322 => 0>>1 INSET: Branch:expire, inset=0x55edad57f140, width=1644, 
> row_flags=0
>  
> ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=0  
> boundary=0 
> ParagraphMetrics.cpp (137):  rows_.back()= pit=5 pos=0 end=1 xpos=-318 
> left_margin=314 right_margin=0 dim: (1636, 82, 3364) separator=0 
> label_hfill=0 boundaries: (0, 0) flushed=1 rtl=0
> x=-4 => 0>>1 INSET: Flex:Answer, inset=0x55edad5880a0, width=1322, row_flags=0
> 

I found a way to reproduce the above messages:

1. Start a new document.
2. Copy some text from outside of document (i.e., not LyX's internal
   clipboard).
3. Paste inside LyX. (result: no message).
4. Now copy that text (i.e., LyX's internal clipboard).
5. Paste inside LyX.

The result is terminal messages for me:

Below is the result of pasting "that" a couple of times in LyX.

ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=4  
boundary=0 
ParagraphMetrics.cpp (137):  rows_.back()= pit=0 pos=0 end=0 xpos=0 
left_margin=99 right_margin=43 dim: (99, 76, 54) separator=0 label_hfill=0 
boundaries: (0, 0) flushed=1 rtl=0
 
ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=7  
boundary=0 
ParagraphMetrics.cpp (137):  rows_.back()= pit=0 pos=0 end=4 xpos=0 
left_margin=99 right_margin=43 dim: (156, 76, 54) separator=0 label_hfill=0 
boundaries: (0, 0) flushed=1 rtl=0
x=99 => 0>>4 STRING: `that' (0 expanders), width=57, row_flags=512
 
ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=8  
boundary=0 
ParagraphMetrics.cpp (137):  rows_.back()= pit=0 pos=0 end=4 xpos=0 
left_margin=99 right_margin=43 dim: (156, 76, 54) separator=0 label_hfill=0 
boundaries: (0, 0) flushed=1 rtl=0
x=99 => 0>>4 STRING: `that' (0 expanders), width=57, row_flags=512
 
ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=11  
boundary=0 
ParagraphMetrics.cpp (137):  rows_.back()= pit=0 pos=0 end=8 xpos=0 
left_margin=99 right_margin=43 dim: (213, 76, 54) separator=0 label_hfill=0 
boundaries: (0, 0) flushed=1 rtl=0
x=99 => 0>>8 STRING: `thatthat' (0 expanders), width=114, row_flags=512
 
ParagraphMetrics.cpp (136): getRowIndexAndPoint Nothing found ! pos=12  
boundary=0 
ParagraphMetrics.cpp (137):  rows_.back()= pit=0 pos=0 end=8 xpos=0 
left_margin=99 right_margin=43 dim: (213, 76, 54) separator=0 label_hfill=0 
boundaries: (0, 0) flushed=1 rtl=0
x=99 => 0>>8 STRING: `thatthat' (0 expanders), width=114, row_flags=512

Scott

Attachment: signature.asc
Description: PGP signature

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to