SimpleMobileTools / Simple-Draw

A canvas you can draw on with different colors.
https://www.simplemobiletools.com
GNU General Public License v3.0
516 stars 190 forks source link

Bug: Rename Conflict Avoidance Logic Breaks File Extensions #263

Open Saijin-Naib opened 1 year ago

Saijin-Naib commented 1 year ago

Unlike the Rename Conflict Avoidance Logic of Simple Gallery, Simple Draw appends a (1) after the file extension, which breaks file picking in numerous apps, including the built-in Android file picker, which reads the name.jpg (1) as a binary file and won't let you pick it for an image intent.

tibbi commented 1 year ago

not sure what you mean, any steps for reproducing the issue?

Saijin-Naib commented 1 year ago

So, edit an image in Simple Gallery. Save as, and it will append a _1 before the extension. So, the file would be imagename_1.extension

Load an image into Simple Draw, edit and save as to the same folder as the source image. It will name it imagename.extension (1)

This breaks file pickers for loading that edited image