giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.29k stars 457 forks source link

Cherrytree wont load last used file on next startup. #2526

Open dolour opened 3 weeks ago

dolour commented 3 weeks ago

Version, Operating system latest on Manjaro unstable

Describe the bug CT wont remember previously opened files on next start. Never had an issue with that before. Loading from an NFS share, which used to work flawlessly.

To Reproduce No additional steps required.

gitvectors commented 3 weeks ago

I had a similar experience which I reported here. https://github.com/giuspen/cherrytree/issues/2512 I thought it was due to my juggling of many *.ctd documents. More than usual. The bottom line is that I decided to implement in a script a rolling backup of config.cfg since it holds the history of Recent Documents. doc_0, doc_1, doc_2 ....

dolour commented 3 weeks ago

Well, the thing is it USED to work without issue. Timeshift borking out during a rollback and taking down my entire filesystem caused me to reinstall my entire system. So its basically a "fresh" install of Manjaro unstable, i.e. latest packages with default settings, and well, it doesent remember to load my cheatsheet anymore. Have to do it manually after every reboot.

gitvectors commented 3 weeks ago

I've experienced that cry in other apps .. "well it used to work". OS upgrades can screw up. Perhaps try rdiffbackup for backups. Just a thought from reading Ubuntu forum posts. A cron job or a tool like Stacer can autostart your cheatsheet at reboot. If there is one lesson I've learned it is to "pair" with other tools/scripts.

giuspen commented 2 weeks ago

hi @dolour can you check your settings to be "Reload Document from Last Session"?

image

Can you then quit cherrytree and run it from a terminal so you can copy and paste the output here:

1) run, open a document, quit cherrytree 2) run again cherrytree

please paste thwe terminal output here