#12945: [Screenshot] Display error messages when saving fails
--------------------------+------------------------------
Reporter: gbl08ma | Owner: nobody
Type: enhancement | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------+------------------------------
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.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12945>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.