Created attachment 179009 [details] Video showing the bug Hi, I have been having several issues when LibreOffice has to render tooltips. In the attached video, I show an example where I hover the mouse over the comments in the Navigator, which would show me the tooltips with the text in the comment box. However, rendering the tooltips results in all kinds of artifacts. Some of them remain blinking, whereas some get a zoom (or stretch) effect. Some never disappear from the screen. Note that this rendering issue occurs in any tooltip and is most visible when I enable "extended tooltips". I have been having this problem for a long time, at least since 7.0, but just now I decided to report it. I experience this issue in multiple computers, but all of them using KDE. Can anyone else confirm this issue? System info: Version: 7.3.1.3 / LibreOffice Community Build ID: 30(Build:3) CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.3.1~rc3-0ubuntu0.21.10.1~lo2 Calc: threaded
@Jan-Marek I believe this issue may be Qt-related. I do not see it happening in "gen" or in "gtk3". Would you mind taking a look? This happens when the user hover over many widgets very quickly, and some tooltips simply forget to disappear, or they start blinking. This issue is easier to reproduce with "Extended tips" on (Tools - Options - LibreOffice - General - Extended tips).
I could reproduce the problem with very fast mouse movements, like in the video. Handling tooltips delayed via the main event loop seem to work better.
Can reproduce with Qt's xcb platform integration, but doesn't seem to be a problem with the wayland one (where tooltips misbehave differently though, e.g. often open at a wrong location, which doesn't seem to be LO-specific, though, since I see the same e.g. in Okular). Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 657de2818468253aae65f49e5f37f5dcd3fc0938 CPU threads: 12; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 657de2818468253aae65f49e5f37f5dcd3fc0938 CPU threads: 12; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+wayland) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/af6dd54d53eee0d0de1164bff0a77c6b433b3935 tdf#148115 Qt handle tooltips via event loop It will be available in 7.4.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.
Nice fix, thanks! Verified with: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 2b44f9490853c9de5a0e92c41fdc1279b6c91e06 CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL
*** Bug 105433 has been marked as a duplicate of this bug. ***
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/7fc871299080427587307932c505d3ae93d6a357 tdf#148115 Qt handle tooltips via event loop It will be available in 7.3.4. 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.
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-7-3-3": https://git.libreoffice.org/core/commit/421abb60875e88432f5d0c6ad4d6dbd8e483647f tdf#148115 Qt handle tooltips via event loop It will be available in 7.3.3. 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.