Skip to content

[BUG] Files with the same name overwrite each other in sync #588

@Yquas

Description

@Yquas

Which app is your issue for

Document Scanner

Version

v1.19.1 Build 140

What platform are you using?

Android

OS Version

Android 16

What happened?

When you create several documents the same day and they receive the same file name by your name template (= today's date), only the latest file gets exported with "Sync document PDFs" enabled or it overwrites the others.

So files should not be allowed to have the same name right in the app and get a number appended to their title when there's already file with the same name, and this check should also be what happens when the app tries to export to the selected folder, it shouldn't overwrite anything but automatically adjust the name. And when there's already today.pdf and today01.pdf, the next file has to be renamed to today02.pdf and so on.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions