Bug 469024

Summary: Spectacle resize by 1 pixel keyboard shortcut resizes by 2 pixels instead
Product: [Applications] Spectacle Reporter: Justin <justinf7293>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin 2023-04-26 19:40:47 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
The [Alt] + [Shift] + [Arrow key] shortcut which the help overlay states resizes the current by 1 pixel instead actually resizes by 2 every key press. Very minor bug, but slightly annoying if you want to create a very precise screenshot.

STEPS TO REPRODUCE
1. Press [PrtSc], another print screen button, or manually select the rectangular screenshot option to begin selection.
2. Select an arbitrary rectangle selection of the screen.
3. Press [Alt] + [Shift] + [any applicable arrow key] to resize.

OBSERVED RESULT
Dimensions of the rectangular selection increment by 2 pixels for every key press.

EXPECTED RESULT
Dimensions should increment by 1 pixel with every key press, as it is stated by the help overlay.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Moving/Relocating the selection in 1-pixel increments through the keyboard works fine.
Selection only grows using this method, it can't shrink. The [up] and [left] arrow keys do nothing.
Comment 1 Nate Graham 2023-04-27 16:57:41 UTC
Are you by any chance using a 200% scale factor?
Comment 2 Justin 2023-05-06 21:13:19 UTC
(In reply to Nate Graham from comment #1)
> Are you by any chance using a 200% scale factor?

Nope, using pretty standard display settings. Doing a quick check anyway shows the display scale is 100%.
Comment 3 Noah Davis 2024-04-13 20:45:14 UTC
This problem seems to have been fixed somewhere between versions 23.04 and 24.02