-
Notifications
You must be signed in to change notification settings - Fork 56
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
[RFC] User-only settings #92
Comments
Who would delete these files? A frequent user can easily have hundreds. We cannot automatically delete the oldest ones, because the user may still have a copy of the workspace. What about saving these settings in the .ows file, but encrypted with a machine-dependent key? Is there such a thing? One that would also survive reinstallation of Orange? Let us assume that these settings are not critical w.r.t. information loss -- neither vim mode nor absolute path is something that couldn't be fixed by the user if it's lost. This would also be easy to implement: every |
My bad, this is actually two different issues.
Your proposed solution works great for the first case. You could use For the second case, it would be either QSettings or one file saved in application support. Either way, it'd be nice to have this functionality abstracted in a Setting. |
We discussed this at a meeting and postponed the idea, but I've thought about this a bit more...
There's a use case for saving a Setting locally, as opposed to in the workflow file.
This could be done not with QSettings, but the following way:
<workflow-id>.json
is created somewhere in the data directory (~/Library/Application Support/Orange on Mac), mapping widgets to their user-only setting valuesThe text was updated successfully, but these errors were encountered: