Bug 383897

Summary: Take screenshots with currently selected parameters with 'Print' key if Spectacle is already launched
Product: [Applications] Spectacle Reporter: Alexander Mentyu <notuxius>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
URL: https://phabricator.kde.org/T9855
Latest Commit: Version Fixed/Implemented In: 19.04.0
Sentry Crash Report:

Description Alexander Mentyu 2017-08-23 09:44:56 UTC
This also adds ability to take screenshots with keyboard shortcut for 'Current Screen' and 'Window Under Cursor' screenshot modes.
Comment 1 Nate Graham 2018-10-14 15:54:56 UTC
You can already do this today with Shift + PrintScreen. Of course this is not at all discoverable so we need to do some work here.
Comment 2 Nate Graham 2019-02-22 21:17:24 UTC
Git commit 4b52871a674ac5c48919b0ef902db063f9afbd66 by Nate Graham, on behalf of David Redondo.
Committed on 22/02/2019 at 21:17.
Pushed by ngraham into branch 'master'.

[WIP] Add option to configure what happens if the Print key is pressed while Spectacle is already running

Summary:
Adds options to configure what happens if the Print key is pressed while Spectacle is already running as discussed in T9855.
Taking a new screenshot and opening a new Instance are working. If already two Instances are open only one new one will be created.
Focusing the window doesn't work it only gets marked in the panel.
Also when in a second instance the option is changed it doesn't affect the other instances altough the spectaclerc is changed.
I also need some help with the strings as currently the description is very long and not good but I couldn't think of anything suitable:
{F6623755}

Closes T9855
Related: bug 374770, bug 399760
FIXED-IN: 19.04.0

Reviewers: #spectacle, #vdg, davidedmundson, ngraham

Reviewed By: #spectacle, #vdg, ngraham

Subscribers: davidedmundson, zzag, abetts, ngraham, #spectacle

Tags: #spectacle

Maniphest Tasks: T9855

Differential Revision: https://phabricator.kde.org/D19153

M  +23   -0    src/Gui/SettingsDialog/GeneralOptionsPage.cpp
M  +2    -0    src/Gui/SettingsDialog/GeneralOptionsPage.h
M  +20   -0    src/SpectacleConfig.cpp
M  +10   -1    src/SpectacleConfig.h
M  +16   -0    src/SpectacleCore.cpp

https://commits.kde.org/spectacle/4b52871a674ac5c48919b0ef902db063f9afbd66