Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
design:profile-manager [2011/10/25 17:04]
stephan
design:profile-manager [2012/01/19 11:18] (current)
stephan [Profile Manager] - schema's
Line 11: Line 11:
 == Mockups == == Mockups ==
  
-=== Settings dictionary ​=== +=== Schema'​s ​=== 
-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 ===
Line 18: Line 22:
 Explaining to a user how to return xfce to the desired state proves difficult, it would be nice if users can save a backup of their settings, and restore if they choose to. Explaining to a user how to return xfce to the desired state proves difficult, it would be nice if users can save a backup of their settings, and restore if they choose to.
  
 +==== Proposals ====
 +
 +==== Profile selector on each setting dialog ====
 +
 +Every setting dialog would have a profile selector. Selecting a profile would restore the related setting values to those of that profile. This would be a kind of robust equivalent to KDEs "​Defaults"​ button.