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
Don't prompt to save when no changes have been made #786
Comments
As I see it the idea has been that you start with an empty "workspace" and then import pages to it. So as soon as you add a document the document/workspace is "unsaved", and then it will ask if you want to save changes when closing. Here are som ideas what we could do. Idea 1: (make "Open" behave more like it does in texteditors)
So in a new pdfarranger instance if you drag in a document and do no changes you would still be prompted to save on close. Idea 2: Idea 3: What do you think? |
Could we use/modify the undo manager to check whether there is exactly one import in the history? Don't we already have a star or something indicating whether a file has been changed? (I really should test / look at the code before commenting on my phone, sorry.)
Sounds like a correct way to name it, but for UX its too complicated IMO. |
I vote for Idea 2. "Import in new window" is the right name and is fine as tooltip in the toolbar but, indeed, may be it would too large in the hamburger menu. |
Related to this is the behaviour of the two buttons |
Describe the bug
With a PDF open in PDF Arranger, even if you don't make any changes, you are prompted to save on close
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that if I open a PDF document, and I dont make any changes, I should be able to immediately close it without having to save anything. Sometimes I just want to open PDFs to make a export of a selection, and not create an overall project with the PDF..
System and Versions
The text was updated successfully, but these errors were encountered: