Bug 156312 - UI rendering errors with kf5 and qt5
Summary: UI rendering errors with kf5 and qt5
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-16 15:20 UTC by RGB
Modified: 2023-08-24 20:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (32.54 KB, image/png)
2023-07-16 15:20 UTC, RGB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RGB 2023-07-16 15:20:58 UTC
Created attachment 188396 [details]
Screenshot showing the problem

I get rendering errors right from the start, as you can see from the attached screenshot. This happens with both, kf5 and qt5 VLC plugins, but not with gtk3. Moving the cursor "in and out" the button fix the problem for a moment, but moving directly from one button to another may cause the problem again, plus several artifacts with the popup broken and partially blinking.

Using openSUSE Leap 15.5. Don't remember seeing the problem in openSUSE Leap 15.4.

Tested with distro's LibreOffice build

Version: 7.4.3.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

Vanilla fresh version

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

and 7.6.0rc1

Version: 7.6.0.1 (X86_64) / LibreOffice Community
Build ID: 776eaf34564cbf3f034a0ba1fd1d5c32ff9ccf1c
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded
Comment 1 Rafael Lima 2023-07-17 11:17:45 UTC
I am unable to reproduce this bug in:

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.4-0ubuntu0.23.04.1
Calc: threaded

I'm on Kubuntu 23.04.
Comment 2 Stéphane Guillou (stragu) 2023-08-03 16:06:11 UTC
I can't reproduce either on Ubuntu 20.04 with GNOME 3.36.8 and:

Version: 7.6.0.2 (X86_64) / LibreOffice Community
Build ID: 41d6f628ba3f046f16b5fa9fa8db8d4c2ab3b582
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

Are you using display scaling at all, or some modified desktop environment font settings?
Can you test with Help > Restart in Safe Mode?
Does it happen only to tooltips?
And please check if bug 155513 is at all similar.

Thank you!
Comment 3 RGB 2023-08-03 16:22:32 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> 
> Are you using display scaling at all, or some modified desktop environment
> font settings?

No, native resolution on my laptop

> Can you test with Help > Restart in Safe Mode?

Same problem

> Does it happen only to tooltips?

Yes, specially when going from a short tooltip to a longer one and when moving to another tooltip that's above or bellow.

> And please check if bug 155513 is at all similar.

I don't see the screen artifacts problems reported there, only the tooltips, so it seems a different issue.
Comment 4 RGB 2023-08-03 16:45:47 UTC
OK, I have done some tests with Qt applications that I don't use that much and the problem occurs there too, only it is much less noticeable. In those other applications the tooltips refresh quickly and the problem goes away. For some reason in LibreOffice it stays for longer and is easier to detect, but it seems to be a Qt problem (maybe related to openSUSE?), not a LibreOffice problem.
Comment 5 Stéphane Guillou (stragu) 2023-08-03 16:59:46 UTC
OK, thank you for looking into it further!
Please do link to a relevant issue here if you find one on openSUSE or Qt forums or trackers.
Comment 6 RGB 2023-08-24 19:59:11 UTC
(In reply to Stéphane Guillou (stragu) from comment #5)
> OK, thank you for looking into it further!
> Please do link to a relevant issue here if you find one on openSUSE or Qt
> forums or trackers.

Finally, I found the correct bug report from KDE project

Morphing Popups effect: glitch when the size of a tooltip is reduced 

https://bugs.kde.org/show_bug.cgi?id=416048