improve externally triggered screenshot behaviour
Operating System: does not apply to windows due to OS limitations
Description of the feature
DO NOT change desktop/viewport to the location of the (main?) gimp window ; remain in current screen/desktop/viewport position/whatever
Use cases
I was happy to finally find a way to open the gimp with the screenshot window open:
$ gimp -b '(plug-in-screenshot 0 FALSE 0 0 0 0 0)'
this also works when the gimp is already running : the screenshot dialog is opened quickly.
Often, I'm running a browser (or other program) and I want to send a screenshot of a particular region of the screen. Take the use case where the gimp is already open on another desktop or another position on the viewport. Running the command
$ gimp -b '(plug-in-screenshot 0 FALSE 0 0 0 0 0)'
(usually with a hotkey through the WM) will cause the screenshot dialog to open, BUT it will also beforehand move my viewport to where the gimp is open ; this requires the user to:
- select the screenshot option
- manually set a delay
- within that delay, navigate back to the desktop/viewport where the screenshot was taken
- select the region/window with the + cursor
before doing whatever is required with the screenshot (usually making a few annotations, exporting the file to JPG/PNG and then send through e-mail or archive for future reference)
if the screenshot dialog were to open below the mouse cursor for instance, a single click on the "Capture" button followed by a click on the window or selecting the region would often be enough.
Notes
this makes even more sense when the command above is changed to
$ gimp -b '(plug-in-screenshot 1 FALSE 0 0 0 0 0)'
(screenshot action is called without opening the dialog, with the previous settings)