Bug 510979 - Zoom area sometimes warps to mouse cursor after panning with the keyboard
Summary: Zoom area sometimes warps to mouse cursor after panning with the keyboard
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (other bugs)
Version First Reported In: 6.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-23 20:57 UTC by Ritchie Frodomar
Modified: 2025-10-24 17:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ritchie Frodomar 2025-10-23 20:57:47 UTC
SUMMARY
When using the keyboard to pan the zoom area around when using fullscreen zoom, the zoom area likes to warp back to the mouse cursor when letting go of the shortcut modifiers.

STEPS TO REPRODUCE
1. In System Settings -> Accessibility -> Zoom & Magnifier, enable fullscreen zoom.
2. Set a keyboard shortcut for the "Move Left/Up/Right/Down" shortcuts if you don't already have them set.
3. Set mouse tracking to Push
4. Move your mouse to the middle of the screen/desktop while zoomed in
5. Use the keyboard shortcut to pan in any direction until the mouse cursor is no longer visible on-screen
6. Let go of the shortcut keys without touching the mouse

OBSERVED RESULT
KWin will warp the zoom area until the mouse cursor is on-screen. You won't be able to keep the zoom area focused on what you panned toward.

EXPECTED RESULT
I'd like the zoom area to stay put, until the mouse is actually touched.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Plasma 6.5.0 on NixOS unstable
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
I discovered this while playing Prototype. The game doesn't handle the mouse very well, and typically breaks screen magnifiers. In Plasma, you can't pan around the screen using the mouse when playing the game. Quite a few games, unfortunately, are like this.

Was using the keyboard shortcuts to zoom in on the game's pause menu. Keyboard is used to control zoom, with a game controller used to actually navigate the menu. I had to keep one hand on the keyboard to keep the zoom area in place, with another hand awkwardly navigating the menu very slowly.