Bug 157537 - Character style "blinks" in-and-out of being applied as I type
Summary: Character style "blinks" in-and-out of being applied as I type
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering DOCX RTL-Hebrew
  Show dependency treegraph
 
Reported: 2023-09-30 19:30 UTC by Eyal Rozenberg
Modified: 2023-10-27 14:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document for reproducing the bug (16.07 KB, application/vnd.oasis.opendocument.text)
2023-09-30 19:32 UTC, Eyal Rozenberg
Details
Screencast of the effect of continued typing (558.43 KB, video/x-matroska)
2023-10-19 09:01 UTC, Eyal Rozenberg
Details
Screencast of the effect of repeatedly typing "ע " (ain and space) (1.15 MB, video/x-matroska)
2023-10-19 09:07 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2023-09-30 19:30:32 UTC
Consider the attached document.

If you continue typing Hebrew at the end of the paragraph numbered (1.), after the word מספר and the space - but you type quickly, just type gibberish and spaces - at some point while typing on the _next_ line, the text starting from the beginning of the next line to half-way to where you're typing will become boldface; but don't stop typing when this happens - continue typing gibberish and spaces; the text will then _lose_ the boldface. And this change will repeat itself more than once as you're typing.

This may or may not be related to how the document was originally a larger document imported from an MS Word .docx file.

Also, I have not seen this behavior when typing gibberish in English instead of Hebrew.

Build ID:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f8e591ab9182e0a61c4ae5b8f77b166fcaeaa877
CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 1 Eyal Rozenberg 2023-09-30 19:32:31 UTC
Created attachment 189914 [details]
Document for reproducing the bug

I should also mention that if we clear all DF, the entire (1.) paragraph becomes boldface'd. However - I have not un-boldfaced it using DF while editing. I had only ever double-clicked the "No Character Style" item in the styles sidebar.
Comment 2 Stéphane Guillou (stragu) 2023-10-16 12:26:14 UTC
Thanks Eyal.

I could not reproduce with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e9374f74385d7dfe77d1902d3d82af20143bc775
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Do you have the David font installed or is it using a fallback?

And noting that the paragraph uses the "Emphasis" character style, which has the bold font effect.
Comment 3 Eyal Rozenberg 2023-10-16 13:18:23 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> Do you have the David font installed or is it using a fallback?

Both... I'm using a fallback to David CLM, but I also have it installed.
Comment 4 QA Administrators 2023-10-17 03:14:04 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2023-10-17 15:04:52 UTC
I can't reproduce, even with David installed.
Any chance you can attach a video of the issue?
And can you reproduce in previous versions?
Comment 6 Eyal Rozenberg 2023-10-19 09:01:29 UTC
Created attachment 190292 [details]
Screencast of the effect of continued typing

Note that in this screencast:

* The only actions performed are initial cursor placement with the mouse, then typing Hebrew characters and spaces. No other action is taken, no shortcut keys etc.
* If one types English instead of Hebrew, this does not happen.
* The David font is substituted for David CLM. Both fonts are installed on my system, with versions 5.03 and 0.120 respectively.

Version info:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3161a6c351a2f5f70c0420ee8cccf2eb23de1ecf
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 7 Eyal Rozenberg 2023-10-19 09:05:15 UTC
Ok, narrowing down the reproduction instructions: In the attached document, just ype ע once. That triggers the emboldening. As you type ע and space, repeatedly, filling more lines, you will the emboldening on the first line gone, then see it appear as you are typing in more of the second line, etc.

I'm also able to reproduce with:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3161a6c351a2f5f70c0420ee8cccf2eb23de1ecf
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 8 Eyal Rozenberg 2023-10-19 09:07:28 UTC
Created attachment 190293 [details]
Screencast of the effect of repeatedly typing "ע " (ain and space)
Comment 9 Buovjaga 2023-10-27 14:00:12 UTC
No problem for me with spaces and (pasting) ע into the example document.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ae9c207675f1144fdea8f628f370375768f1eb00
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 27 October 2023