Wayland: Cursor is 90° rotated on rotated screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mutter |
Fix Released
|
Unknown
|
|||
mutter (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Jammy |
Fix Released
|
Low
|
Jeremy Bícha |
Bug Description
Impact
------
Cursor isn't pointed the right direction with multiple screens with different rotations. This seems to only happen when the Desktop Icons extension is disabled (for instance in the default GNOME session).
Test Case
-----------
1) Use one of the GNOME Shell extensions app to disable the Desktop Icons NG extension.
2) Plug in a second monitor.
3) Open the Settings App. Open the Displays page.
4) Set one of the screens to have Orientation: Portrait Right
5) Move your cursor from one screen to the other. It only happens if there aren't windows open under the cursor so this is easiest to reproduce if your windows are all minimized.
What Could Go Wrong
-------------------
See the master bug for this update at LP: #1972726
Original Bug Report
-------------------
I have a multi-screen setup with one of the displays being rotated (Portrait Right in Displays settings).
Since upgrading to Jammy the cursor gets 90° rotated after being moved from a landscape to the rotated screen.
This seems to be happening only in Overview or if cursor is hovered over the desktop. Hovering cursor over the application window (e.g. Terminal) would reset the rotation; however, after being moved back to the landscape screen, the cursor gets rotated again (but now in an opposite direction).
This doesn't happen on Xorg and it wasn't happening on impish (wayland).
This doesn't happen if desktop icons NG extension is enabled.
Additional notes: sometimes the dead cursor copy stays near the screen edge after cursor is being moved to a different screen.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mutter 42~beta-1ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 31 08:23:17 2022
InstallationDate: Installed on 2019-04-17 (1078 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.2)
SourcePackage: mutter
UpgradeStatus: Upgraded to jammy on 2022-03-30 (0 days ago)
description: | updated |
Changed in mutter (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: fixed-in-42.1 fixed-upstream |
Changed in mutter (Ubuntu Jammy): | |
importance: | Undecided → Low |
Changed in mutter (Ubuntu): | |
importance: | Undecided → Low |
Changed in mutter (Ubuntu Jammy): | |
status: | New → In Progress |
assignee: | nobody → Jeremy Bicha (jbicha) |
description: | updated |
Changed in mutter: | |
status: | Unknown → Fix Released |
DING is a workaround because it is actually an app window that covers the whole desktop, mostly transparent.