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

Mechanism to clean the File Manager window #682

Open
s427 opened this issue Apr 15, 2024 · 2 comments
Open

Mechanism to clean the File Manager window #682

s427 opened this issue Apr 15, 2024 · 2 comments

Comments

@s427
Copy link

s427 commented Apr 15, 2024

When a KN file disappears from the disk for whatever reason, it nonetheless remains visible in the File Manager window, with a "warning" icon next to it. Ultimately such files seem to be automatically purged from the list, but it can take a while (out of curiosity: how long? how does this work?).

I understand that this may be a good thing, as a file might be only temporarily unavailable and come back later for a number of reasons.

However it can also be annoying when the files have simply been deleted. The File Manager stays "polluted" for a while and there's no easy or obvious way to clean it.

Suggestion: when a user tries to open a file that isn't available from the File Manager window, ask them whether they want to remove that file from the list or not.

Alternatively, add a "Clean up list" button to the File Manager window, with a confirmation such as "All the files that are not currently available on disk will be removed from this list. Do you want to proceed?"

@dpradov
Copy link
Owner

dpradov commented Apr 15, 2024

Help file:
<<File Manager

KeyNote has a simple file manager which allows you to quickly open a file you have used previously. Press F12 to open the file manager window.

The File Manager dialog box displays a list of all KeyNote files you have used, where missing files are automatically removed, as registered in the associated file (.MGR). See also Auxiliary Files>>

Ultimately such files seem to be automatically purged from the list, but it can take a while (out of curiosity: how long? how does this work?).

I just tested it and it works normally. When you open the application, starting the session, KeyNote reads the .MGR file and identifies those that are still available as files to be offered in File Manager. If one no longer exists, it deletes it and does not offer it, and will save it in the .MGR file when you exit the application, closing the session.
If any of the files identified as available during the session are moved or deleted, it will continue to be offered in File Manager but with the warning symbol.

@s427
Copy link
Author

s427 commented Apr 15, 2024

OK, thanks for the clarification. I did not realize it was as simple as exiting/restarting KN, as it is not something I do often.

(I assumed it was time-based, e.g. unavailable files removed after N days.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants