Bug 500707

Summary: Shift-zoom broken for all tools except crop
Product: [Applications] Spectacle Reporter: nilskemail+kde
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, madness742
Priority: NOR    
Version First Reported In: 6.3.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description nilskemail+kde 2025-02-24 23:57:30 UTC
SUMMARY
Holding shift when drawing or editing a screenshot shows a magnified section of the cursor plus a crosshair.
When editing the screenshot this is broken for tools like "Draw freehand" etc. 

STEPS TO REPRODUCE
1. Create screenshot (with draw region)
2. Check that pressing shift and moving the cursor around correctly shows the magnified section plus crosshair
3. In the on-screen toolbar select "Freehand"
4. Again, press and hold shift and move the cursor around

OBSERVED RESULT
The magnification window gets stuck/frozen as soon as the cursor leaves the on-screen toolbar

EXPECTED RESULT
The magnification window should correctly follow the cursor 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.12.15-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon 780M
Comment 1 madness742 2025-05-05 02:34:43 UTC
I can confirm the same behaviour on:

- Fedora 42 with Spectacle 6.3.4
- Fedora 41 with Spectacle 24.08.2
- KDE Neon Unstable with Spectacle 6.3.80.
Comment 2 Noah Davis 2025-05-21 07:32:20 UTC
I might need to change some of the annotation tool modifier keys to avoid overlap with the magnifier key in rectangle mode along with the magnifier position fixes.
Comment 3 Bug Janitor Service 2025-06-10 21:26:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/spectacle/-/merge_requests/463
Comment 4 Noah Davis 2025-06-11 17:41:40 UTC
Git commit 0747560cc8a2f7781f091f7f65b6694b567d8173 by Noah Davis.
Committed on 11/06/2025 at 16:53.
Pushed by ndavis into branch 'master'.

CaptureOverlay: Only show magnifier with no annotation tool selected

I'd like to be able to show the magnifier in more contexts in the future. The current version was not designed to work with the annotation tools since there are some key handling conflicts, so I'm just disabling it while annotating.

M  +6    -2    src/Gui/CaptureOverlay.qml

https://invent.kde.org/plasma/spectacle/-/commit/0747560cc8a2f7781f091f7f65b6694b567d8173
Comment 5 Noah Davis 2025-06-11 17:41:57 UTC
Git commit 7b8917b033edd3fd6a825375e19f39a6b3dda965 by Noah Davis.
Committed on 11/06/2025 at 17:41.
Pushed by ndavis into branch 'Plasma/6.4'.

CaptureOverlay: Only show magnifier with no annotation tool selected

I'd like to be able to show the magnifier in more contexts in the future. The current version was not designed to work with the annotation tools since there are some key handling conflicts, so I'm just disabling it while annotating.

(cherry picked from commit 0747560cc8a2f7781f091f7f65b6694b567d8173)

Co-authored-by: Noah Davis <noahadvs@gmail.com>

M  +6    -2    src/Gui/CaptureOverlay.qml

https://invent.kde.org/plasma/spectacle/-/commit/7b8917b033edd3fd6a825375e19f39a6b3dda965