Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
design:profile-manager [2011/12/11 23:45] – [Profile selector on each setting dialog] jsakkinedesign:profile-manager [2012/01/19 11:18] (current) – [Profile Manager] - schema's stephan
Line 11: Line 11:
 == Mockups == == Mockups ==
  
-=== Settings dictionary === +=== Schema'=== 
-Settings are not always easy to understand. For example: '{xfwm4}/general/use_compositing' is not something a user would come up with himself if he wants to enable or disable the compositing feature of xfce. To solve this problem, the profile-manager needs some sort of settings-dictionary. A dictionary that maps '{xfwm4}/general/use_compositing' to and from a user-friendly name 'Enable window compositing'.+The way settings are stored inside xfconf makes it hard to make a generic configuration dialog for all settings. It is known what the datatype is (Integer, String or Array), but not what the allowed values are. So, if there is an integer for the number of workspaces (for example), it's an integer value, with a minimum value of −2,147,483,648 to 2,147,483,647... but for the number of workspaces, a range of 1 to 16 makes sense... 
 + 
 +In the applications using these settings, the boundaries are checked. The same is true for the application-specific configuration dialogs. But, for a generic settings-manager, there is no way to find out if the correct range for a property is a numeric range of 1 to 20, one of the following strings "none,half,full", or one of the numbers "-1, 0, 1, 2" where they actually mean "Automatic, Scale, Zoom, Stretch"
 + 
 +Another issue with these settings is that they are not always easy to understand. For example: '{xfwm4}/general/use_compositing' is not something a user would come up with himself if he wants to enable or disable the compositing feature of xfce. To solve this problem, the profile-manager needs some sort of settings-dictionary. A dictionary that maps '{xfwm4}/general/use_compositing' to and from a user-friendly name 'Enable window compositing'.
  
 === Backup / Restore === === Backup / Restore ===