Bug 511529

Summary: regression: cursor is broken in virt-manager
Product: [Plasma] kwin Reporter: madness742
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.5.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description madness742 2025-11-02 16:46:22 UTC
SUMMARY
Since upgrading to Plasma 6.5.1, my cursor in virt-manager is either invisible (when moved to the second monitor), or has a scanlike effect applied to it.

This only seems to affect my Linux guests, and not Windows guests.

STEPS TO REPRODUCE
1. Download and run Fedora 43 KDE in virt-manager. 
2. Observe the cursor.

OBSERVED RESULT
The cursor has a scanlike effect applied to it, and the size isn't correct. It looks squashed and tall at the same time. It also turns invisible when I move the window to my second monitor.

EXPECTED RESULT
The cursor should appear normal.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 43
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.17.5
GPU: Sapphire Nitro+ AMD Radeon RX 7900 XTX

ADDITIONAL INFORMATION
- I'm using `KWIN_DRM_NO_AMS=1` to workaround game menus stuttering.
- `KWIN_FORCE_SW_CURSOR=1` does not help with this issue.
- The cursor appears fine in recordings..
- Virtio vs QXL makes no difference.
Comment 1 madness742 2025-11-03 03:29:08 UTC
If the cursor looks normal, try these steps to reproduce:

1. Open the VM in virt-manager.
2. Adjust View -> Scale Display -> Always.
3. Adjust View -> Scale Display -> Auto Resize VM with window [leave this UNCHECKED].
4. Make the window larger.
Comment 2 Zamundaaa 2025-11-03 13:55:03 UTC
I can reproduce the glitch. That is really odd.