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

TiddlyDesktop does not remember location (directory) of last open file #314

Open
vuktw opened this issue Feb 15, 2025 · 2 comments
Open

Comments

@vuktw
Copy link

vuktw commented Feb 15, 2025

TiddlyDesktop-linux64-v0.0.20

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.2 LTS
Release:	24.04
Codename:	noble

When importing a file from single file TiddlyWiki opened in TiddlyDesktop, a file picker dialog gets displayed. It defaults to Recent, which contains items from different locations. I don't know if it relies on upstream functionality, or can be tuned, but I would find it much more convenient if the file picker dialog opened in the directory of last imported file. My use case is manually importing a couple of plugins as JSON files, they are stored in a directory that is quite deep in my home directory, and for each file I have to manually navigate there from HOME over and over.

@Jermolene
Copy link
Member

Hi @vuktw that does seem feasible: nw.js offers a nwworkingdir attribute that allows the initial directory to be set, and we could keep the previous directory in the app settings.

@vuktw
Copy link
Author

vuktw commented Feb 15, 2025

While fiddling around more, I have found a somewhat acceptable workaround which mitigates the severity of my inconvenience, I'll share it here:

When the file dialog opens, if Recent contains a previously opened file, which I know to be close to the location (directory) I currently need - I can right click on it and select Visit File - then it goes to the directory where that file lives - exactly the behavior I wanted initially. It's a couple more mouse clicks but it is much better than many more clicks to navigate deep into subdirectories from Home 👍

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