Bug 498513

Summary: If the user makes a frame-perfect move with the touchpad, the flatpak cursor will overlap the panel while it stays still.
Product: [Plasma] kwin Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, visual-design
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Frame-perfect issue.
How to reproduce + proving it's the flatpak cursor bleeding into the panel with gmail

Description Fernando M. Muniz 2025-01-11 01:55:01 UTC
Created attachment 177274 [details]
Frame-perfect issue.

The flatpak cursor can be seem over the Panel with Dodge Windows and Breeze theme if the user performs a frame-perfect movement, which will display the wrong cursor theme until the user moves the cursor again, as seen in the attachment.
Comment 1 Nate Graham 2025-01-13 17:04:53 UTC
Definitely not a Breeze theme issue. Possibly a GPU driver glitch. What's your hardware?
Comment 2 Fernando M. Muniz 2025-01-13 21:54:10 UTC
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 8.1 GB of RAM
Graphics Processor: Mesa Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 3 Fernando M. Muniz 2025-01-13 21:56:45 UTC
I forgot the hidden but very important GPU info:

GPU 1: NVIDIA GeForce GTX 1650 Mobile / Max-Q [Discrete]
GPU 2: Intel Iris Xe Graphics @ 1.30 GHz [Integrated]
Comment 4 Nate Graham 2025-01-14 16:55:19 UTC
Ok, so not the AMD driver issue I was thinking of.
Comment 5 Fernando M. Muniz 2025-01-23 10:53:47 UTC
Created attachment 177614 [details]
How to reproduce + proving it's the flatpak cursor bleeding into the panel with gmail
Comment 6 Fernando M. Muniz 2025-03-07 22:49:53 UTC
Maybe this issue will become irrelevant once Gnome 48 is launched with its "Wayland Cursor Shape Protocol".
https://www.phoronix.com/news/GNOME-Mutter-Cursor-Shape
Comment 7 Fernando M. Muniz 2025-03-27 13:42:38 UTC
The cursor theme is now the same. The issue is technically still existing but now lacks any visual reason to be fixed.

Actually there's a micro visual difference:
If the user makes the same frame-perfect move, the cursor will have its left outline visible, which means that in theory users aren't able to click on the first vertical row of pixels on the left of the screen when using flatpaks, or at least Firefox flatpak.