Bug 383897 - Take screenshots with currently selected parameters with 'Print' key if Spectacle is already launched
Summary: Take screenshots with currently selected parameters with 'Print' key if Spect...
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Boudhayan Gupta
URL: https://phabricator.kde.org/T9855
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-23 09:44 UTC by Alexander Mentyu
Modified: 2019-02-22 21:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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