Bug 443528

Summary: [wayland] Cursor actually pointing to a more left-top shifted location than expected
Product: [Plasma] kwin Reporter: Oxalica <oxalicc>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, oxalicc
Priority: NOR    
Version First Reported In: 5.22.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 'I' shaped (I-Beam) cursor when selecting
Normal cursor when selecting

Description Oxalica 2021-10-09 22:29:25 UTC
Created attachment 142283 [details]
'I' shaped (I-Beam) cursor when selecting

In Plasma Wayland session, the 'I' and `->|` shaped cursors actually point to it's left-top corner of the cursor icon, instead of expected middle and right. The normal shaped cursor also have a 4px-left 4px-top offset from the angle of the icon.

See screenshot in attachment.

It can also be reproduced on NixOS. But it doesn't exist on Plasma X11 session.
Comment 1 Oxalica 2021-10-09 22:30:20 UTC
Created attachment 142284 [details]
Normal cursor when selecting
Comment 2 Oxalica 2021-10-19 07:45:20 UTC
Oh, I found the issue only occurs inside virtual machines but not on host. It might be an issue of QEMU or libvirt.