Using the `-s` switch prevent the resulting window from closing if the user subsequentially chose to cancel the action
The current behavior of screenshooter, after taking a screenshot is to present the user with a series of actions (save as, copy to clipboard, etc...). Doing so will create another windows for further processing. If the user happens to cancel the next action, the behavior is to send them back to the original menu. However, calling screenshooter with the -s
switch will not create the menu and propose the user to either save the file or cancel. Cancelling then will fallback to the original behavior and will try to send the user back to the parent window, which is itself, creating an infinite loop.
The only way to close the application, then, is to either save the file or kill the process.
Running devuan testing.
$ xfce4-screenshooter --version
xfce4-screenshooter 1.9.8
$ xfce4-about -V
xfce4-about 4.16.0 (Xfce 4.16)