After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579110 - Allow changing of options AFTER taking the screenshot
Allow changing of options AFTER taking the screenshot
Status: RESOLVED OBSOLETE
Product: gnome-screenshot
Classification: Core
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: gnome-screenshot-maint
gnome-screenshot-maint
Depends on:
Blocks:
 
 
Reported: 2009-04-16 02:52 UTC by bi2h5da02
Modified: 2020-08-07 13:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
New and improved screenshot tool (67.06 KB, image/png)
2009-04-16 03:46 UTC, bi2h5da02
Details

Description bi2h5da02 2009-04-16 02:52:41 UTC
Currently when you press PrtScrn it will take a screenshot of the entire screen.  If you push Alt+PrtScrn it will take a screenshot of just the current window.  If you want to do anything more advanced than this (turn on/off pointer, take screenshot of certain area), then you have to open up the screenshot tool first from the main menu, "set up your shot", and then take it.

Wouldn't it be much better if you could just press PrtScrn for *any* kind of shot, on the spur of the moment, and then choose your options after the fact?

I'm not sure how the screenshot tool works internally (or I would write the damn thing myself, as it says in the source), but it seems like there's no reason why you couldn't do this.

For instance, if you take a screenshot of the entire screen including the cursor, then hide the cursor and take another shot of the area behind it (while recording its coordinates), you now have enough information to have a "Cursor" option in the save dialog.  You either save the version with the cursor or paste the empty rectangle over top of it and save that.

Likewise, saving the inside of a window with no window borders is just a matter of taking a screenshot of the entire screen, and keeping track of the two coordinates of the rectangle that defines it.  The user can then choose to crop the image to just include the focused window according to the saved coordinates.

Instead of selecting an area of the screen first and taking a screenshot of it, take a shot of the entire screen and allow the user to crop it afterwards, before saving.

Drop shadow and border can be added after the fact, too.

The user can hit PrtScrn quickly and it will capture anything and everything they might want, and let them choose which parts they want to keep.  ;)
Comment 1 bi2h5da02 2009-04-16 03:46:00 UTC
Created attachment 132737 [details]
New and improved screenshot tool

Here's a mock-up of how I imagine the tool will look, with GIMP-style cropping handles, options to save only the focused window, show or not to show the cursor, apply an effect after the fact, etc.
Comment 2 bi2h5da02 2009-04-16 03:48:16 UTC
In fact, in this context, "Include the window border" would be best as another radio button, I think, not an "Effect" checkbox.

"Grab current window" would include the border, and "Grab current window contents" would only grab inside the border, or something like that.

It should still use transparency for non-square corners as it currently does, though, so the "Grab the current window" option would not behave exactly like a rectangular crop.
Comment 3 soloturn 2017-01-06 16:37:01 UTC
this sounds nice, indeed. but i guess nobody is interested in implementing :)
Comment 4 soloturn 2017-01-06 17:31:28 UTC
gnome binds shift-prtsc, alt-prtsc, prtsc which imo works excellent. i find it a little difficult to include right button menu and mouse pointers though ...
Comment 5 Alexander Mikhaylenko 2020-08-07 13:44:46 UTC
This seems to be superseded by https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2947