Bug 151925 - With q5 VCL, cursor disappears in some paragraphs in Writer
Summary: With q5 VCL, cursor disappears in some paragraphs in Writer
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.1.2 release
Hardware: All All
: medium normal
Assignee: ⁨خالد حسني⁩
URL:
Whiteboard: target:24.2.0 target:7.6.0.2 target:7...
Keywords:
Depends on:
Blocks: Qt5 RTL-UI
  Show dependency treegraph
 
Reported: 2022-11-05 22:52 UTC by Eyal Rozenberg
Modified: 2023-07-11 09:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with which the bug was observed (18.02 KB, application/vnd.oasis.opendocument.text)
2022-11-05 22:52 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-11-05 22:52:46 UTC
Created attachment 183431 [details]
Document with which the bug was observed

I'm using 

Version: 7.4.1.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-IL (en_IL); UI: en-US
Debian package version: 1:7.4.1-1

to edit a document. Unfortunately, when I place the cursor on some of the paragraphs - it disappears. Editing works, but you don't see the cursor. In the whittled-down document I'm attaching I see this mostly on the last paragraph (which says חיפה, 6 בנובמבר 2022). When I had more content in the document, I saw it in other paragraphs, e.g. the one with אל תדאג אמר הדג.
Comment 1 Michael Weghorn 2022-12-03 09:10:47 UTC
Can reproduce with

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: a611f2fc149153aabea8948f74ee004944acf681
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

but not

Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: a611f2fc149153aabea8948f74ee004944acf681
CPU threads: 4; OS: Linux 6.0; UI render: default; VCL: qt5 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

i.e. this appears to be specific to the qfont rendering code path that is not used by default with kf5.
Comment 2 Commit Notification 2023-07-09 10:03:29 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f9b16330f13d3ad43de6de026206577bfa1ac85d

tdf#151273, tdf#151925: Don’t use QFont text layout by default

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2023-07-10 05:38:03 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/14fe410e0ab90e95141613b77de48063f518d9bb

tdf#151273, tdf#151925: Don’t use QFont text layout by default

It will be available in 7.6.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2023-07-11 09:34:00 UTC
Khaled Hosny committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/eb9b5ec7620f236243636cd94f517fc80006b95a

tdf#151273, tdf#151925: Don’t use QFont text layout by default

It will be available in 7.5.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.