Bug 509777 - Magnifier remains visible when holding both shifts keys, until pointer is moved again
Summary: Magnifier remains visible when holding both shifts keys, until pointer is mov...
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.4.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-22 09:56 UTC by madness742
Modified: 2025-10-27 19:07 UTC (History)
3 users (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 madness742 2025-09-22 09:56:04 UTC
SUMMARY
When holding both shift keys, the magnifier gets stuck on the screen. It also gets stuck when releasing the shift key after cursor movement.

STEPS TO REPRODUCE (both shift keys)
1. Press on the PrtScn key to bring up Spectacle.
2. Press and hold both left and right shift key at the same time.

STEPS TO REPRODUCE (after cursor movement)
1. Press on the PrtScn key to bring up Spectacle.
2. Move the cursor while holding shift.
3. Stop moving the cursor, and then release the shift key.

OBSERVED RESULT
The magnifier gets stuck on the screen in both situations.

EXPECTED RESULT
The magnifier shouldn't be visible anymore.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
- Graphics Platform: Wayland
Comment 1 Nate Graham 2025-09-23 16:40:56 UTC
Can reproduce.
Comment 2 Michał 2025-10-27 19:07:52 UTC
Adding my reproduction, which I believe is the same issue, but with different steps.

STEPS TO REPRODUCE
0. Have default settings of:
  - set `Show magnifier:` to `While holding Shift`
  - set `When launching Spectacle:` to `Take rectangular screenshot` (and `While spectacle is running` `Press screenshot key to:` `Take a new screenshot`)
  - default keybinds of `Launch Spectacle` to `Print` for Global and `Meta+Shift+S` for Global Alternate
1. Do not touch your mouse during reproduction, not even 1 px movement
2. Press Print Screen to open Spectacle (and its screenshot-taking UI)
3. Everything is okay
4. Dismiss it
5. *Press Ctrl+Shift+S* (WITHOUT moving the mouse)
6. The screenshot UI opens and the magnifier is shown, despite NOT holding the Shift button (we just clicked and immediately released the key combination) (NOTE: reproduction ratio is not 100%, sometimes it shows up, sometimes blinks, sometimes won't show)
7. As for OP: pressing and releasing Shift right now will not hide this magnifier UI
8. Move mouse by 1 px
9. The magnifier disappears and can now be used normally again

In other words, pressing Ctrl+Shift+S to start making a screenshot probably has its "Shift" trigger the magnifier UI show-up, which lingers in this broken state until mouse cursor is moved to make it disappear, and it's immune to actual Shift key presses before disappearing.