Comments (2)
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 Setting
would have an additional flag encode
(default would be False), which would be observed by the two methods that encode/decode settings. This would probably require changing just these two particular methods.
from orange-widget-base.
My bad, this is actually two different issues.
- absolute paths. These should be obscured. If someone else opens the workflow and changes it, it should be overwritten.
- recent paths, vim mode. These should keep state across all instances of Orange. E.g., after opening a path in File, and opening a new workflow, the path should be shown as a recent path in File in the new workflow.
Your proposed solution works great for the first case. You could use reporting/machine-id
, a random UUID generated with uuid.uuid4()
. Although, this is currently only generated upon enabling usage statistics. Alternatively, you could use uuid.uuid1()
with a specified clock sequence value.
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.
from orange-widget-base.
Related Issues (20)
- Override cursor handling in spinbox and autocommit is buggy ... HOT 2
- gui.TabWidget renders poorly HOT 9
- Widget geometry should be saved together with other Settings
- Line Edits don't select entire text on double click HOT 11
- ControlAreaVisible is not applied if save_position=False
- Explicit Orange3 import
- Add no shadow option?
- Opening a workflow results in many crashes HOT 3
- No module named PyQtWebEngineCore HOT 1
- ColoredBarItemDelegate: Crashes on data with missing values
- ARIMA Model Widget AttributeError: 'NoneType' object has no attribute 'control' HOT 1
- ListViewSearch: Does not filter on changed data HOT 1
- Visual settings need to be documented HOT 1
- Indicate uncommitted changes at the widget and canvas levels HOT 4
- Images in reports are too large HOT 1
- LDAvis: error on report (blank ldavis)
- ErrorReporting.handle_exception: causes segfault HOT 2
- Retain column width in QTableView HOT 1
- Show Help in widget does not work (on macOS?) HOT 3
- Error caused by `_bind_messages` when widget class includes a DataFrame-type attribute HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orange-widget-base.