drawpile / Drawpile

A collaborative drawing program
http://drawpile.net/
GNU General Public License v3.0
1.03k stars 130 forks source link

"File → Export Image again" to overwrite last exported file #1298

Open gerroon opened 5 months ago

gerroon commented 5 months ago

Hi

I like to save my images as PNG, the save dialog always brings up the ORA conformation, I think this should be fine but once the image saved as PNG it should stop asking about it, it is a bit of distracting every time I save my image I need to click on a button to save it.

thanks

amoruwu commented 5 months ago

You could use export image instead! image This won't save layers, but saving as PNG won't save layers either so it's the same.

gerroon commented 5 months ago

@amoruwu thanks but that does not address the original issue. If that is the way to do itm saving non ORA should disabled. Also Export image brings the save menu all the time, it is just about the same, I am trying to avoid menus and pop up, and avoid clicking on things when saving.

askmeaboutlo0m commented 5 months ago

The save confirmation is necessary to prevent silent data loss. Consider the scenario where you're working on a file, save as PNG just to show off a WIP and then keep working on it, hitting Ctrl+S along the way to save it. If there were no confirmation dialog that you're about to lose data, you'd be left thinking that everything is fine, only to discover later that all you got is a flattened image and actually lost all of your work. So removing this confirmation dialog is not an option, save should save, not lose data.

However, what could be added is a different "export again" option, where it would export the image to the same file you exported to last, without asking for input or questioning your choice of format. GIMP has something like this for example. I'll retitle the issue in that regard.