Bug: Sleep Chart does not remember its folder
Report
Harvey R., UK, 2023/08/17 (YY/MM/DD)
Hello,
This is a minor bug, or maybe it is an intended behaviour.
When opening a folder in Sleep Chart, SuperMemo does not open the folder in the Sleep Chart directory, instead, it opens it in the Plan directory.
This is not a problem for the average Sleep Chart user, however, it is a (mild) nuisance for those who import their sleep data via a CSV file.
Steps to reproduce
- Open Sleep Chart (F12)
- Press Ctrl+O to open the folder, you will be regarded with a folder that is not the Sleep Chart folder.
- This also happens if you want to import a CSV file (via File : Import : Excel File)
Intended behaviour
After further testing, this seems to occur because SuperMemo simply remembers the last SuperMemo-modified directory (i.e., if you save a Plan schedule, then SuperMemo will remember the directory for Plan), rather than the directory specific to the tool.
So, follow these steps:
- Open SuperMemo Plan
- Press Ctrl+Shift+S to save a schedule
- Close Plan
- Open Sleep Chart
- Press Ctrl+O
- You will be regarded with the Plan directory rather than the Sleep Chart directory
Oddly enough, I do not encounter this issue with Plan (i.e., if I press Ctrl+O in Plan, I will always be regarded with the Plan directory even though I have done some modifications to the Sleep Chart folder via the Sleep Chart tool).
As I said, pretty harmless bug, but it's just irritating sometimes :)