Bug 160998 - Quick find shows junk/placeholder glyphs instead of the matching line text
Summary: Quick find shows junk/placeholder glyphs instead of the matching line text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Find-and-Replace 160544
  Show dependency treegraph
 
Reported: 2024-05-08 22:25 UTC by Eyal Rozenberg
Modified: 2024-05-17 10:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Document in which searching triggers the bug (59.65 KB, application/vnd.oasis.opendocument.text)
2024-05-08 22:25 UTC, Eyal Rozenberg
Details
Search results for קורה in find sidebar, in attachment 194035 (219.93 KB, image/png)
2024-05-08 22:32 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
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