Bug 512459 - 'Save All' overwrites existing file without prompting
Summary: 'Save All' overwrites existing file without prompting
Status: ASSIGNED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-22 06:32 UTC by spamless.9v5xj
Modified: 2025-12-24 20:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spamless.9v5xj 2025-11-22 06:32:53 UTC
SUMMARY
  The button saves to ~/Documents/New\ Document.pdf but it seems to lack a check if a file with that default name already exists, auto overwriting it.

STEPS TO REPRODUCE
1. Launch Skanpage
2. Scan a document
3. Press Save All
4. Close and reopen the app to clear scanned documents
5. Scan a new document
6. Press Save All again

OBSERVED RESULT
Both times it says 'Saved to New\ Document.pdf'; the second time overwrites the first with no warning

EXPECTED RESULT
The second time it should either prompt the user for a new name or automatically append a number
Comment 1 Bug Janitor Service 2025-12-24 20:48:21 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/skanpage/-/merge_requests/113