Simple-Draw icon indicating copy to clipboard operation
Simple-Draw copied to clipboard

Bug: Rename Conflict Avoidance Logic Breaks File Extensions

Open Saijin-Naib opened this issue 2 years ago • 2 comments

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.

Saijin-Naib avatar Jan 17 '23 02:01 Saijin-Naib

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

tibbi avatar Jan 17 '23 09:01 tibbi

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

Saijin-Naib avatar Jan 17 '23 12:01 Saijin-Naib