Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to PDF should confirm that user wants to overwrite existing file #1983

Open
2 tasks done
mikkorantalainen opened this issue Feb 2, 2025 · 1 comment
Open
2 tasks done
Labels
issue template not filled Issue template not filled in, ignoring unless filled lacks details Issue is valid but not exact enough in details

Comments

@mikkorantalainen
Copy link

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
When I'm happy with the drawing and I choose File - Export as - PDF... and export the PDF file, the Save dialog doesn't complain if I choose name that collides with existing file but silently overwrites any existing file with the same name.

Describe the solution you'd like
The save workflow should show dialog "Warning: File foobar.pdf already exists." with dialog buttons "Overwrite" and "Cancel" where the Cancel action should return to the file selector instead of cancelling the whole export process. The cancel button in file selector should still cancel the whole export.

Describe alternatives you've considered
The export filename could be automatically silently modified (e.g. to add (2) before the extension) to avoid overwriting the target file but I think this would be even worse than the current situation because user might not notice this and wonder why the output file doesn't match the content the user was trying to export.

@alderg alderg added the lacks details Issue is valid but not exact enough in details label Feb 6, 2025
@alderg
Copy link
Contributor

alderg commented Feb 6, 2025

What operating system and version?

@alderg alderg added the issue template not filled Issue template not filled in, ignoring unless filled label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue template not filled Issue template not filled in, ignoring unless filled lacks details Issue is valid but not exact enough in details
Projects
None yet
Development

No branches or pull requests

2 participants