Bug 512459

Summary: 'Save All' overwrites existing file without prompting
Product: [Applications] Skanpage Reporter: spamless.9v5xj
Component: generalAssignee: Alexander Stippich <a.stippich>
Status: ASSIGNED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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