Saving the gui state
The gui stat/configuration should be saved on exit, or possibly logout. This should include what widgets are displayed and where, so that restarting ember, post login, will give you the same interface you left with. Included with this should be a default gui layout, and any failure to load should revert to the default layout.
Blueprint information
- Status:
- Complete
- Approver:
- Erik Ogenvik
- Priority:
- Low
- Drafter:
- Sean Ryan
- Direction:
- Needs approval
- Assignee:
- Tiberiu P
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Erik Ogenvik
- Completed by
- Erik Ogenvik
Related branches
Related bugs
Sprints
Whiteboard
The way the UI currently works is that we try to hide windows that aren't of use to the user as much as possible. For example, instead of providing a menu from which the user can choose which windows to show we only automatically show those windows that are of interest in the current context. So if the user is performing a task, the task widget is shown, but hidden as soon as the task is complete.
When implementing this suggestion one has to be careful not to stray from this philosophy. This mainly affects the ability to save which widgets that should be shown; since we want the client to handle that in most cases. However, it would be very nice to be able to store both position and size of widgets, as well as whether they are "rolled up" or not. Since all widgets use the common class Widget such functionality would be perfectly fitted to be added to that class. In addition, all widgets use uniquely named CEGUI windows. So I'm thinking of using Varconf for storing position, size and other info in sections identified by the CEGUI window name (I'm guessing that that's how you envision it too.).