Bug 483159

Summary: [wayland] On a scaled display, icons jump very slightly to the side when being focused/unfocused with the mouse if the mouse moves over them during the focusing/unfocusing
Product: [Plasma] kwin Reporter: Eamonn Rea <eamonnrea>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video of Jumpy Icon using Kate

Description Eamonn Rea 2024-03-10 19:06:21 UTC
Created attachment 166904 [details]
Video of Jumpy Icon using Kate

SUMMARY
When focusing/unfocusing windows with Breeze decorations using the mouse, the icon will jump to the left very slightly if the mouse moves over them during the focusing/unfocusing, and then jump back to its regular position.

I have attached a video of the issue. The video looks  really strange and does not reflect how my desktop actually looks - It is not even nearly as blocky, and the purple line is actually the Spectacle region recording select preview, which jumps incorrectly once recording starts - These are issues unrelated to this bug, but I wanted to clarify why it looks the way it does.

This issue is not present when using Alt+Tab, or when clicking inside of the window. This issue is also exclusive to scaled displays, it does not happen on my unscaled displays.


STEPS TO REPRODUCE
1. Open a window on a scaled display
2. Focus/unfocus the window with the mouse, ensuring the mouse goes over the icon during the focusing.
3. Observe the icon jumping slightly to the side during this.

OBSERVED RESULT
Window icons jump slightly to the side when being focused/unfocused with the mouse, if the mouse moves over them to focus/unfocus.


EXPECTED RESULT
Window icons do not move when being focused, which is the behaviour on non-scaled displays.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.8 Linux Zen
KDE Plasma Version: 6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Comment 1 Eamonn Rea 2024-07-20 21:52:10 UTC
This is still present in Plasma 6.1.3.
Comment 2 Eamonn Rea 2025-02-12 22:06:26 UTC
This is still present, and even appears to be more easily reproducible, in Plasma 6.3.0.