biolab / orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis
https://orangedatamining.com
Other
4.89k stars 1.02k forks source link

Store recent paths in QSettings, not .ows #4919

Open irgolic opened 4 years ago

irgolic commented 4 years ago

File (and other file loading widgets) show you the most recently chosen files in a dropdown.

This is currently stored in the .ows file itself. I believe this should be user-dependent, saving it in QSettings would make more sense.

janezd commented 4 years ago

Only the currently opened file should be in the schema, others in QSettings.

janezd commented 4 years ago

Also, @irgolic suggested that absolute path should never be stored in schema. If the recent path is absolute, it should be in QSettings.

janezd commented 3 years ago

The widget currently does not store the active sheet name. This is non-trivial to fix because it would have to be a context setting, but contexts currently correspond to domain, not file name.

The fix should, however, be a part of solving this issue because file name should be in QSettings.

Not true. Sheets are saved in RecentPath.