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
Next revision
Previous revision
design:xfce4-settings:mergedialogs [2014/03/31 13:33] – Implementation details peterdesign:xfce4-settings:mergedialogs [2014/05/02 01:21] (current) – [Merge dialogs contextually] peter
Line 1: Line 1:
 ====== Merge dialogs contextually ====== ====== Merge dialogs contextually ======
 +This link will be updated from time to time during development.
 +
 +WIP: [[http://imgur.com/5zSKa1L,i2rTrMf,XmPg2tB,C2oayj3,IHFrTFy,HMTR6hP,codtXCZ,FdlhM9U|Screenshots]]
 +==== Unified Xfwm4 Settings ====
 +
 +  * [ Style ] //(if xfce4-settings is installed)//
 +  * [ Keyboard ] //(if xfce4-settings is installed)//
 +  * Focus
 +    * Focus model
 +    * New window focus
 +    * Raise on focus
 +    * Raise on click
 +    * Focus stealing/hints
 +    * When a window raises itself
 +  * Placement (+ xfwm4 advanced)
 +    * Windows snapping
 +    * Wrap workspaces when reaching the screen edge
 +    * Hide content of windows
 +    * Double click action
 +    * Min size to trigger smart placement
 +    * By default, place windows:
 +  * Cycling (as is)
 +  * Compositor (as is)
 +  * Accessibility (as is)
 +
 +==== Workspace Settings ====
 +  * General
 +  * Margins
 +  * Behavior (xfwm4 workspaces)
  
 ==== Keyboard Settings ==== ==== Keyboard Settings ====
Line 16: Line 45:
   * Settings   * Settings
  
-==== Window Manager Settings ==== 
  
-  * <del>Style</del> //(if xfce4-settings is installed)// 
-  * <del>Keyboard</del> //(if xfce4-settings is installed)// 
-  * Focus 
-  * Advanced 
  
 ===== Implementation ===== ===== Implementation =====
Line 51: Line 75:
   * Add the enum to libxfce4kbd and use static linking on the mappings   * Add the enum to libxfce4kbd and use static linking on the mappings
   * Don't use the enum, use g_intern_string or GQuark   * Don't use the enum, use g_intern_string or GQuark
 +
 +
 +==== Embed xfwm's tabs ====
 +
 +Use a GtkPlug/GtkSocket setup to embed the specific xfwm tabs into the settings dialogs. It would be similar to how the settings manager embeds processes and keep coupling loose for new shortcut/settings updates.
 +
 +
 +===== Discussion =====
 +
 +  * The next logical move seems to be a merge of the xfwm4 and xfwm4-tweaks dialogs, however, this bears a few problems:
 +    * There'd be 2 tabs with the same title (Focus), they'd either have to be merged or one of them renamed
 +    * There'd be 8 tabs (or 7, if Focus tabs are merged) in this dialog, which seems a bit hefty