Bug 450438 - Mouse pointer lost when returning from zoom levels
Summary: Mouse pointer lost when returning from zoom levels
Status: RESOLVED DUPLICATE of bug 448537
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.24.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-17 10:48 UTC by dolgener
Modified: 2022-02-18 19:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dolgener 2022-02-17 10:48:29 UTC
SUMMARY
When using the "desktop zoom" effect and returning to the normal display (100%) after zooming in, sometimes the mouse pointer disappears. The mouse itself works normally, just the visible pointer either vanished or remains at the screen's center. And the pointer reappears in any zoom level > 100%.

STEPS TO REPRODUCE
1. Use a modern 4k display
2. Enable "Zoom" in systemsettings / desktop effects / accessibility.
3. Adjust settings to: 
     Zoom Factor: 1.10, Mouse Pointer: Keep, Mouse Tracking: Push
     Do not enable Focus Tracking nor Enable Text Cursor Tracking
4. Work normally with your desktop for about 1-2 hours, whilst regularly using the zoom function for a short time and returning to normal resolution after.

OBSERVED RESULT
Mouse pointer becomes invisible in normal resolution (or is displayed statically in the screen's center).
It even returns while changing to any zoom level > 100%, but only there.

EXPECTED RESULT
Mouse pointer stays visible and functional in all zoom levels as well as  in normal resolution.

SOFTWARE/OS VERSIONS
Linux Kernel:  5.6.0-1028-oem (64-bit)
KDE Plasma Version:  5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
* Various commonly recommended methods to restore a lost pointer  (e.g. locking and unlocking the screen, switching to a TTY and back, unplugging and replugging the USB mouse) do NOT work. Only logging out and logging back in (i.e. restarting X11) brings the mouse pointer back in normal resolution.
*  As the pointer becomes visible again when zooming to > 100%, this indicates that actually only restoring the 100% cursor may fail.
* The effect occurred first at 2022-92-09. It could therefore have been 'rolled out' with the following packages (1-2 days before):
plasma-discover-common_5.24.0-0xneon+20.04+focal+release+build51_all.deb
plasma-discover-backend-snap_5.24.0-0xneon+20.04+focal+release+build51_amd64.deb
plasma-discover-backend-flatpak_5.24.0-0xneon+20.04+focal+release+build51_amd64.deb
plasma-discover_5.24.0-0xneon+20.04+focal+release+build51_amd64.deb
kde-config-updates_5.24.0-0xneon+20.04+focal+release+build51_amd64.deb
base-files_11ubuntu5.4+p20.04+trelease+git20220208.1239_amd64.deb
python-apt-common_2.0.0ubuntu0.20.04.7_all.deb

*  The following workaround exists: The "trackMouse" effect correctly circles the current position of the mouse cursor in normal resolution (and by the way, it is broken in any zoom level). Nevertheless, precise work is impossible this way.
Comment 1 Nate Graham 2022-02-17 22:48:11 UTC
Hmm, this was supposed to be fixed in Bug 448537, but I can't tell whether you're reporting the exact same issue or a minor variation of it.
Comment 2 ratijas 2022-02-18 05:44:54 UTC
Sounds like exactly the same bug. Probably the fix hasn't made it downstream yet?
Comment 3 dolgener 2022-02-18 12:21:45 UTC
You are right, it seems duplicate. However, searching for "zoom" and "pointer" (and some other keywords) before my report yielded no results yesterday. Sorry for that.

Additionally, we can state it has nothing to do with Nvidia's driver, as I experience that bug also on "Mesa Intel® HD Graphics 530".
Comment 4 Nate Graham 2022-02-18 19:21:02 UTC
Well you're on 5.24.1, and it was supposed to be fixed there, so I guess it's not actually fixed yet. :( I will dupe and re-open.

*** This bug has been marked as a duplicate of bug 448537 ***