Cursor Tracking with Gnome Shell Magnifier on Wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Unknown
|
|||
gnome-shell (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Affected version
GNOME 3.36 - 3.40.
Ubuntu 20.04, 20.10, 21.04 and Fedora 34 Beta.
Wayland only.
Bug summary
When running GNOME shell with Wayland, the cursor and focus tracking functionality of the magnifier (a11y feature) do not correctly compute the cursor/focus location. The position is calculated from the top left of the window but the windows position is not included. This causes the magnifier to track the wrong location when the window is not maximiser or is on a second monitor.
I suspect this is related to the way in which wayland is designed. But my experience in this area is minimal. When using X11 this feature works correctly.
The wiki page states that under wayland the cursor and focus tracking work but this information is either out dated or was not tested correctly.
Steps to reproduce
From the Gnome desktop, open a terminal by pressing ctrl + alt + t or by opening the activities overlay and searching for "terminal".
Press super + left arrow key to maximize the terminal window on the left side of the screen.
Activity the magnifier by pressing super + alt + 8.
Type text into the terminal window. The magnified view will move with the text cursor.
Press super + right arrow key to maximize the terminal windows on the right side of the screen.
Type text into the terminal. The magnified view will move but it will not show the text cursor. It will move when text is entered but will focus on the left side of the screen.
What happened
The magnified view does not follow the text/focus cursor correctly.
What did you expect to happen
The magnified view should follow the cursor and show the cursor as it does when the widnows is maximized. The correct behaviour can also be seen in Gnome shell running with X11.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gnome-shell 3.38.4-1ubuntu2
ProcVersionSign
Uname: Linux 5.11.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Apr 22 20:55:25 2021
DisplayManager: gdm3
GsettingsChanges:
b'org.gnome.shell' b'command-history' redacted by apport
b'org.
b'org.
b'org.
InstallationDate: Installed on 2021-04-22 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Beta amd64 (20210331.1)
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: a11y zoom |
Changed in gnome-shell (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnome-shell: | |
status: | Unknown → New |
Changed in gnome-shell: | |
status: | New → Fix Released |
Upstream bug: https:/ /gitlab. gnome.org/ GNOME/gnome- shell/- /issues/ 4112