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

Add 'Close File' Function #593

Closed
hairycactus opened this issue Dec 1, 2021 · 0 comments
Closed

Add 'Close File' Function #593

hairycactus opened this issue Dec 1, 2021 · 0 comments
Assignees
Labels
feature Request for a new feature

Comments

@hairycactus
Copy link

Current Behaviour

If a window is loaded with a PDF file that subsequently requires no user action, there is no way to view a new file, unless we ...

  1. Delete all PDF pages on the existing window, before loading a new file via the Open File & Append to Current Document button.
  • Not ideal, because the window retains the metadata properties of the "previous" file (whose pages have been deleted).
  1. Open a new window via ☰ > New Window (CTRL-N) & load the file there.
  • Not ideal, because closing the unwanted 1st window causes PDF Arranger to exit abruptly -- see Closing 1st Window causes Program Exit when Multiple Windows are Open #592.
  • Even the said issue doesn't exist, opening a new window & closing the previous window just to discard a file & open a new file is not just annoying workflow, but also results in additional workload for the host system.

Desired Behaviour

There should be a Close File function for each open window. And after the file is closed, the window should not retain any metadata or any other properties of the already-closed file.

The Close File function can be in the form of a button placed alongside the Open File & Append to Current Document, Save & Save as buttons on the titlebar, &/or a command at the ☰ > Close File (CTRL-X) menu.

A 'Close File function is standard in editing-type programs -- or least it exists all such programs that I'd ever used -- & is thus familiar to users.

Tested: v1.8.0 (13 Nov 2021) portable, v1.7.1 (18 Mar 2021) portable from Github Releases

OS: Win 10 x64

Thanks !

kbengs added a commit to kbengs/pdfarranger that referenced this issue Dec 5, 2021
* This resets all back to initial state
* Export file is no longer reseted when all pages are deleted

close pdfarranger#593
@kbengs kbengs self-assigned this Dec 6, 2021
@dreua dreua added the feature Request for a new feature label Jan 5, 2022
kbengs added a commit to kbengs/pdfarranger that referenced this issue Jan 16, 2022
* The action reset all back to initial state
* Export file is no longer reset when all pages are deleted
* Use unsaved flag also when document is untitled
Close pdfarranger#593, Close pdfarranger#597
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants