[Screenshot] Display error messages when saving fails
|Reported by:||gbl08ma||Owned by:||nobody|
In the process of fixing #10928, I noticed that the screenshot tool doesn't show any errors when saving the image fails (because of insufficient permissions, or if the destination for some reason is not a directory, or any other storage error).
On error, the window just stayed open, instead of closing. This can be very confusing for the users who might not remember that the normal behavior is to close on save, and thus may think the file saved sucessfully when it didn't.
This patch fixes the problem by adding error alerts to the saving function.
Change History (6)
by , 4 years ago