Screenshot lost when upload fails
@andreldm
Submitted by Andre Miranda Assigned to Andre Miranda @andreldm
Description
Steps to reproduce:
- run on terminal: HTTPS_PROXY=http://foo src/xfce4-screenshooter -w
- Select Host on Imgur
- An error message is shown telling the upload failed, expected due the phony proxy
Actual results:
- After pressing Ok, the program finishes and the user loses his/her screenshot
Expected results:
- Screenshooter should return to the Action selection dialog
The screenshot is not really lost, it's kept in /tmp, but the average user might not know this and it's not cool to unearth the file from there.
Version: 1.9.0