Bug 160998

Summary: Quickfind sidebar: Quick find shows junk/placeholder glyphs instead of the matching line text
Product: LibreOffice Reporter: Eyal Rozenberg <eyalroz1>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dpskhu13108, eyalroz1, ilmari.lauhakangas
Priority: medium    
Version: 24.8.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=95405
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 102847    
Attachments: Document in which searching triggers the bug
Search results for קורה in find sidebar, in attachment 194035

Description Eyal Rozenberg 2024-05-08 22:25:14 UTC
Created attachment 194035 [details]
Document in which searching triggers the bug

Consider the attached document. That is a document in Hebrew, with a ToC. It exhibits another issue (bug 148686), but that should not be relevant for our purposes.

If I:

1. Open the document in LO Writer
2. Open the find toolbar
3. Search for קורה

I get several matches, as I should - but some of the match paragraphs contain upright-rectangle glyphs instead of Hebrew text. I'll attach both the document and a screenshot.

Seen with:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 92815f3a464b447898ecf52492247335228e4a72
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 1 Eyal Rozenberg 2024-05-08 22:32:00 UTC
Created attachment 194037 [details]
Search results for קורה in find sidebar, in attachment 194035 [details]

Note that the search results also exhibit bug 160998, but that one can be reproduced much more easily.
Comment 2 Buovjaga 2024-05-09 07:03:25 UTC
I reproduce, but there is some randomness.

For me, the content in the input field shows fine at first, but is flipped to placeholder glyphs after a couple of seconds.

The first time I searched, I got placeholder glyphs for the first hit, but not the second hit. Searching multiple times after that, even closing the document in between, I only got placeholder glyphs in the input field.

After closing LibreOffice completely, the behaviour was reset and started its "cycle" again. Maybe caching is involved somehow.

Khushi: can you take a look at this?

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 37722469bee4fe170e9514e32d6112ca31c2d934
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded