Bug 443528 - [wayland] Cursor actually pointing to a more left-top shifted location than expected
Summary: [wayland] Cursor actually pointing to a more left-top shifted location than e...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.22.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-09 22:29 UTC by Oxalica
Modified: 2021-10-19 07:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
'I' shaped (I-Beam) cursor when selecting (2.50 KB, image/png)
2021-10-09 22:29 UTC, Oxalica
Details
Normal cursor when selecting (1.70 KB, image/png)
2021-10-09 22:30 UTC, Oxalica
Details

Note You need to log in before you can comment on or make changes to this bug.
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.