I would really love the option to repeat the previous screenshot region, recapturing the same region without any interaction.
This would be very helpful when doing UI development, where I often want to make changes, take a screenshot of a region to inspect, make changes, repeat the screenshot, etc...
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
What do you mean for "repeat the last screenshot"?
I use xfce4-screenshooter via command line, and I have three keybindings to each way (region, window, fullscreen), so if I want to repeat the last screenshoot I just type the according keys.
Duncan Lockchanged title from Option to repeat last screenshot to Option to repeat last screenshot region
changed title from Option to repeat last screenshot to Option to repeat last screenshot region
I would really love the option to repeat the previous screenshot region, recapturing the same region without any interaction.
This would be very helpful when doing UI development, where I often want to make changes, take a screenshot of a region to inspect, make changes, repeat the screenshot, etc...
On CLI, -r/--region could accept an optional argument for X,Y,W,H
On UI, in the actions dialog, add a checkbox labelled as "Repeat screenshot" only when region was used and that will keep retaking the screenshot and showing actions dialog until unchecked or when the dialog is dismissed.
The CLI route should be straightforward, I just not happy with the UI, feels kinda weird to me.
While the repeat option is most important when selecting a region because that process is not repeatable, it might also come in handy when screenshooting a window or the entire screen. So why not add a checkmark that can always be selected ("repeat screenshot")? Then that could bring up a new dialog which just has two buttons: "repeat" and
"dismiss".
Anyways it doesn't really matter how this is implemented. Either way it's a very useful feature.
Implementing it in the UI would definitely be easier to use because it's hard to estimate screen coordinates.
So why not add a checkmark that can always be selected ("repeat screenshot")? Then that could bring up a new dialog which just has two buttons: "repeat" and "dismiss".
I don't see the point in this two-button dialog, what should happen if "repeat" is pressed? Show the actions dialog? If so that's one extra step that seems unnecessary. Or do you mean that the last used action should be repeated? What if the user saved the screenshot as "screenshot.png", should we overwrite it? Ask for a different filename? Sounds too confusing, I think just showing the actions dialog again is preferable.
it's hard to estimate screen coordinates.
Not really, screenshooter already tells the region size, one just needs to guess the x,y. This shouldn't require more than 3~4 attempts to get it right.
I didn't think this through with the two-button dialog. I had copy-to-clipboard in mind which indeed would be easy to repeat but for 'Save' or 'Host on Imgur' it's more complicated than that, as you say.
I'm not a fan of the dialog disappearing every time I use it. So here's another suggestion that combines this issue with #1 (closed):
When the dialog is first opened, the user sees an additional grayed-out radio button that says 'Previous selection'.
The 'Choose what to do ...' dialog gets an extra radio button that says 'Discard'.
Whenever OK is pressed on the 'Choose what to do ...' dialog, bring back the 'Take a screenshot' dialog. (This is a major change to the UI but I think it's more intuitive. Most other applications (not just for screenshots) are only closed if you hit the 'X', a 'Close' button or a 'Finish' button. For instance, Snipping Tool on Windows brings back the dialog after saving a screenshot.
Now, activate (i.e. ungray it) the 'Previous selection' radio button. When that one is selected and you press OK, the following should happen depending on the last action.
If 'Entire screen' was selected before, capture the entire screen.
If 'Active window' was selected before, capture the same window again, taking into account that it might have moved somewhere else. (Throw an error if the window can't be found).
If 'Select a region' was selected before, capture the same region of the screen.
I'm seeing two ideas here. I'm not sure which one the OP had in mind, but both seem very useful to me.
Remember the region, so that it can be reused (screenshot again) without selecting it again.
A timed repetition of the screenshot, so e.g. repeat the screenshot (of the screen, window or region) every second (best if customizable). As a bonus, the user could either set the number of shots to be made, or ask for an "infinite" sequence of screenshots (that needs to be dismissed by the user).
Something like i=1; while true; do; xfce4-screenshooter -r -s "/tmp/screenshot-$((i++)).png"; sleep 1; done this could fulfill your needs. I prefer leaving users to craft one liners for their specific needs than adding complicated options to screenshooter.