Bug 435083

Summary: Add global shortcut to open Spectacle in "Window Under Cursor" mode
Product: [Applications] Spectacle Reporter: medin <med.medin.2014>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: wishlist CC: antonio.prcela, kde, nate
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 21.08

Description medin 2021-03-28 20:25:05 UTC
It would be great if a shortcut is added for capture mode "Window Under Cursor". This mode helps to capture a window with all other widows that appear on top of it.
Comment 1 Nate Graham 2021-03-31 17:15:22 UTC
Yeah, we don't have one set by default.
Comment 2 Bug Janitor Service 2021-05-17 22:30:11 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/70
Comment 3 Antonio Prcela 2021-05-25 18:57:54 UTC
Git commit 84ca3c8057856addd8361c2a802fc3f4d728a7e2 by Antonio Prcela.
Committed on 24/05/2021 at 13:42.
Pushed by ngraham into branch 'master'.

Add global shortcut to open Spectacle in 'Window Under Cursor' mode

Set shortcut to Meta+Ctrl+Print

M  +6    -1    desktop/org.kde.spectacle.desktop.cmake
M  +11   -0    src/ShortcutActions.cpp
M  +1    -0    src/ShortcutActions.h
M  +2    -0    src/SpectacleCore.cpp

https://invent.kde.org/graphics/spectacle/commit/84ca3c8057856addd8361c2a802fc3f4d728a7e2