Cursor displays incorrectly while Zoom is turned on
Affected version
OS: Fedora Linux 36 (Workstation Edition)
Gnome Version: 42.2
Windowing System: Wayland
Bug summary
While Accessibility -> Zoom is Turned On Mouse cursor does not render properly or in other words does not reflect the current UI element for example, when hovering over a link would not change to a hand cursor or similarly would not change to a text cursor when hovering over or inside a text box or text area. The cursor either stays the same as a pointer or switches into something completely inappropriate such as a resize window cursor.
This issue most notably occurs in non GTK based apps such as seen in the screenshots bellow, the cursor would not change within a browser window (Screenshot taken while using a chromium based browser) which makes it harder to distinguish and identify Web page elements such as a link from regular text or it is harder to point and click within a text area do things like selecting a text or placing the cursor at the right position as the cursor would not switch to a text cursor. The most painful experiences occur when using electron based apps like Spotify, Telegram, VS Code where in the cursor changes to a resize window cursor and it makes it harder to actually point and click at UI elements as in i would place the cursor over a button and click but the action wont trigger any response and in order to actually hit the button i have to place the cursor in a very specific point at a very particular distance relative to the button. This makes it very hard to use any application. this also leads to a problem where it makes it harder to use the scrollbars as it is really hard to exactly position the cursor on the scrollbar.
Steps to reproduce
- Go to Settings -> Accessibility -> Zoom, Turn on zoom (My prefered configuration 3x + zoom and Magnifier cursor set to Magnifier cursor pushes content around)
- Go to any application try using the mouse
- Navigate to a text area, hover over a link, move the cursor to the window's edge,
- Test with non GTK applications like a chromium based browser, Electron based app, other apps like Mailspring
What happened
As seen in the screenshots above the cursor doesn't render itself properly when Accessibility -> Zoom is turned on
What did you expect to happen
Cursor should render itself properly relative to the UI element, expect the correct relevant cursor to display when hovering over or inside an UI element such as a text box or a link, or a clickable element such as a button.
Relevant logs, screenshots, screen casts etc.
The following screenshots will describe the issue better
Cursor in text area without zoom
Improper cursor on text area with zoom
Resize cursor appearing everywhere inside a window