Bug 156962 - UI: multline textfield (Form > Text Box) not refreshing? (kf5/qt5 with Cairo)
Summary: UI: multline textfield (Form > Text Box) not refreshing? (kf5/qt5 with Cairo)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 157471 158271 (view as bug list)
Depends on:
Blocks: KDE, KF5 Form-Controls
  Show dependency treegraph
 
Reported: 2023-08-28 11:30 UTC by bugs
Modified: 2024-04-22 19:29 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
multiline textfield before refreshing (5.78 KB, image/png)
2023-08-28 11:30 UTC, bugs
Details
multiline textfield after scrolling (12.63 KB, image/png)
2023-08-28 11:31 UTC, bugs
Details
example Document for bug with multline text field (9.28 KB, application/vnd.oasis.opendocument.text)
2023-09-12 10:11 UTC, bugs
Details
Screenshot while typing in the test document (6.68 KB, image/png)
2023-09-12 10:13 UTC, bugs
Details
screenshot of test document after scrolling (11.45 KB, image/png)
2023-09-12 10:14 UTC, bugs
Details
base test (12.38 KB, application/vnd.oasis.opendocument.database)
2024-01-12 12:56 UTC, cornosier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugs 2023-08-28 11:30:59 UTC
Created attachment 189193 [details]
multiline textfield before refreshing

When using a multline textfield for entering remarks ("Bemerkung" in the screenshot) in LO writer, which is an interface for entering data into a database in this case,
the GUI is defunct after scrolling. There are overlays of the multiline textfield which makes the interface unusable. Two screenshots are attached, one before scrolling and one after scrolling.
The reason seems to be that the area of the multiline textfield is not graphically refreshed while opening the document or e.g. scrolling the document.

When we change the multiline textfield to "multiline textfield with formatting" via the textfield's properties dialog in LOWriter, the properties dialog's data tab disappears and the connection to the correspondent data base field breaks. When switching back to a multiline or an oneline textfield, the data tab appears again but it is blank.

this can be repoduced with two newer versions of Libreoffice:
Version: 7.5.4.1 (X86_64) / LibreOffice Community
Build ID: 50(Build:1)
CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:7.5.5~rc2-0ubuntu0.20.04.1~lo2
Calc: threaded
Comment 1 bugs 2023-08-28 11:31:48 UTC
Created attachment 189194 [details]
multiline textfield after scrolling
Comment 2 Stéphane Guillou (stragu) 2023-09-11 12:51:05 UTC
Thank you for the report.
Can you please attach an example document so we are sure we are using the same elements when testing?
Thank you!
Comment 3 bugs 2023-09-12 10:11:13 UTC
Created attachment 189512 [details]
example Document for bug with multline text field
Comment 4 bugs 2023-09-12 10:13:31 UTC
Created attachment 189513 [details]
Screenshot while typing in the test document

Screenshot taken with

Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:7.5.6~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 5 bugs 2023-09-12 10:14:15 UTC
Created attachment 189514 [details]
screenshot of test document after scrolling
Comment 6 Stéphane Guillou (stragu) 2023-09-12 22:18:35 UTC
Thank you!
Reproduced in:

Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

and 7.6.1.1. Also with qt5 (cairo+xcb).

- Scrolling leaves horizontal lines on the frame.
- When adding lines after reaching the bottom of the object, the characters keep overlapping and accumulating.

Not reproduced with gtk3 VCL plugin. Not reproduced in 7.4.7.2 -> regression.

Bibisected with linux-64-7-5 repo to first bad commit f8a0d8ee676d110bfe19fbb3396292db93e6d69c which points to core commit 0e14dbc9ecdf6abae3ae3089e3b4e22f27dd4cb1 which is a cherrypick of:

commit 0e14dbc9ecdf6abae3ae3089e3b4e22f27dd4cb1
author	Caolán McNamara Thu May 04 10:24:53 2023 +0100
committer	Michael Stahl Fri May 05 10:48:33 2023 +0200
Resolves: tdf#155029 set StandardStyles before updateFromModel
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151370

Caolán, can you please have a look? Likely the same issue as bug 155637.
Comment 7 Stéphane Guillou (stragu) 2023-10-11 13:25:39 UTC
*** Bug 157471 has been marked as a duplicate of this bug. ***
Comment 8 Buovjaga 2023-11-29 14:53:24 UTC
*** Bug 158271 has been marked as a duplicate of this bug. ***
Comment 9 cornosier 2024-01-12 12:56:31 UTC
Created attachment 191890 [details]
base test

the problem occurs on version 7.6.4.1
Comment 10 S 2024-04-22 19:29:24 UTC
The bug still exists in 7.6.6.3.