Bug 507948

Summary: Cursor state always changes to pointer when a Qt tooltip appears
Product: [Plasma] kwin Reporter: Timothy B <yule2000>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: iodreamify, kdedev, xaver.hugl
Priority: NOR Keywords: wayland-only
Version First Reported In: 6.4.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Recording of the bug

Description Timothy B 2025-08-06 16:38:50 UTC
Created attachment 183833 [details]
Recording of the bug

SUMMARY
When a tooltip appears in a QtWidgets-based app, the mouse cursor would always change to a pointer.

STEPS TO REPRODUCE
1. Open System Settings
2. Go to Mouse & Touchpad > Screen Edges
3. Hover over the Edge barrier textbox (by default, it's set to 100px)
4. Observe the tooltip fading in and the cursor changing states at the same time

OBSERVED RESULT
The cursor changes to a regular pointer the moment the tooltip appears.

EXPECTED RESULT
The cursor shape stays the same as before the tooltip appears (in this case, an I-beam).

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6750 XT
Graphics Driver: AMDGPU

ADDITIONAL INFORMATION
This can also be reproduced reliably when I edit formulas in LibreOffice Calc using the Qt/KDE Frameworks-based UI, where the syntax of a formula appears as a traditional Qt tooltip.

I could not reproduce this on Firefox, the Plasma desktop and widgets, GTK apps, or QtQuick/Kirigami apps; the cursor keeps its expected state when a tooltip appears in those apps.

I remember seeing this first in Plasma 5.27 under Wayland, but I never saw this happen on X11, so I assume this is a Wayland-only bug. Given that this only occurs on regular Qt apps, I'm not sure if KWin or Qt itself is the culprit behind this.
Comment 1 Bug Janitor Service 2025-08-06 17:33:38 UTC
Thank you for the bug report!

However Plasma 6.2.1 no longer receives updates or maintenance from KDE; active versions are 6.4 or newer. Please upgrade to an active version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need help with Plasma 6.2.1, please contact your distribution, who bears the responsibility of providing help for older releases that are no longer receiving updates from KDE.

If you can reproduce the issue after upgrading to an active version, feel free to re-open this bug report.
Comment 2 Timothy B 2025-08-06 17:46:50 UTC
Oops, I accidentally forgot to make sure the reported version is correct
Comment 3 Zamundaaa 2025-08-06 19:59:08 UTC
Can confirm with Qt 6.9, but when I went to investigate in my development session, it didn't happen anymore! So it's already fixed in Qt dev / Qt 6.10 :)
Comment 4 Zamundaaa 2025-10-06 21:39:23 UTC
*** Bug 510316 has been marked as a duplicate of this bug. ***