HardyDesktopEffects

Differences between revisions 6 and 7
Revision 6 as of 2007-11-02 15:05:19
Size: 7251
Editor: 12
Comment:
Revision 7 as of 2007-11-02 16:35:39
Size: 9154
Editor: 12
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
 * Expose compiz keyboard shortcuts in UI (gnome-keyboard-shortcuts?)
 * Less insane compiz shortcuts
   - remove everything and put back only important ones
   - add them to the gnome-keybinding propoerties capplet (compiz-keys.xml)
   - Standardize on use of super key as a binding.
   - Allow super key to be changed out for another key.
 * Review compiz use of shortcuts to make consistent
   - Super key.
 * Compiz shortcuts should work after purging metacity
 * make compiz features more discoverable:
 * write new SVG-based window-decorator
 * less insane compiz-shortcuts
 * expose the compiz-shortcuts in gnome-keyboard-properties (compiz-keys.xml)
 * only one modifier-key for triggering compiz-functions (Super-key will be the default)
 * compiz shortcuts should work after purging metacity
 * make compiz features more discoverable
Line 45: Line 41:
 * write new SVG-based window-decorator
Line 50: Line 45:
Run compiz as the default compositing/window-manager on supported graphics-hardware.  Run compiz as the default compositing/window-manager on supported graphics-hardware.
Line 54: Line 49:
Running compiz (as default instead of metacity) is meant to be as smooth and non-intrusive as possible, while improving the visual appeal and accessability of the default desktop-setup. The user should only recognize the improved visual appeal and added usability-improvements on the desktop. There should be as little breakage as possible moving from metacity to compiz in terms of behaviour, keyboard-shortcuts and themes. Running compiz as default instead of metacity is meant to be as smooth and non-intrusive as possible, while improving the visual appeal and accessability of the default desktop-setup. The user should only recognize the improved visual appeal and added usability-improvements on the desktop. There should be as little breakage as possible moving from metacity to compiz in terms of behaviour, keyboard-shortcuts and themes.
Line 62: Line 57:
You can have subsections that better describe specific parts of the issue.
Line 68: Line 61:
 * The appearance-capplet will have to be ported to libcompizconfig. This change will allow saving any set of plugin-settings the user might have made (using the graphical frontend [https://code.launchpad.net/simple-ccsm simple-ccsm]) as a custom profile. That custom profile will then be used when the user switches between effects-levels (none, normal, extra, custom) in the appearance-capplet.  * The appearance-capplet will have to be ported to [https://code.launchpad.net/libcompizconfig libcompizconfig]. This change will allow saving any set of plugin-settings the user might have made (using the graphical frontend [https://code.launchpad.net/simple-ccsm simple-ccsm]) as a custom profile. That custom profile will then be used when the user switches between effects-levels (none, normal, extra, custom) in the appearance-capplet.
Line 70: Line 63:
 * A new window-decorator needs to be written in C, which sports a SVG-backend. To prototype this new decorator it is agreed to write it in python first to gather experience of what is needed from a functionality standpoint. According to [mailto:onestone@kemper.freedesktop.org Dennis "onestone" Kasprzyk] this new window-decorator could be written in a way so that it unredirects the window, makes a frame window and reparents the window to it's decoration. After this all painting code in compiz is disabled, and then you have a 2D version of Compiz that will work without Compiz/OpenGL (we would still need a new 2d switcher plugin).  * A new window-decorator needs to be written in C, which sports a SVG-backend (it is strongly advised to use [https://code.launchpad.net/librsvg librsvg] here). To prototype this new decorator it is agreed to write it in python first to gather experience of what is needed from a functionality standpoint. According to [mailto:onestone@kemper.freedesktop.org Dennis "onestone" Kasprzyk] this new window-decorator could be written in a way so that it unredirects the window, makes a frame window and reparents the window to it's decoration. After this all painting code in compiz is disabled, and then you have a 2D version of Compiz that will work without Compiz/OpenGL (we would still need a new 2d switcher plugin).
Line 72: Line 65:
 * A new plugin for proper session-management needs to be written (Travis "amaranth" Watkins). This will be enabled for the normal and extra effects-levels.  * A new plugin for proper session-management needs to be written ([mailto:amaranth@ubuntu.com Travis "amaranth" Watkins]). This will be enabled for the normal and extra effects-levels.
Line 76: Line 69:
 * The default set of compiz keyboard-shortcuts has to be stripped down to the bare minimum. The starting point for this is the set users know from metacity. The shortcuts have to be exposed in gnome-keyboard-properties. A XML-file is used for populating the list of keyboard-shortcuts in gnome-keyboard-properties. The default "compiz modifier" will be the Super-key. A user will only be able to change the Super-key to another key (e.g. Ctrl, Alt etc) but not introduce new multi-modifier keyboard-shortcuts. That is meant to avoid mapping conflicts with shortcuts used in applications. The use of shortcuts used by compiz needs to be consistent across all compiz core-features and plugins.

 * The compiz-shortcuts need to be protected from a possible purge of metacity-shortcuts in gconf. This could be solved by writing compiz- and metacity-shortcut-settings at the same time in integration-mode (what is that mode actually?).

 * The provided features and plugins of compiz need to be made more discoverable. Triggering functions via hotcorners are meant to be bound to the "compiz-modifier" (this is the Super-key by default). So when pressing the modifier the configured hotcorners should "lighten up" to give the user a visual clue that they are now able to trigger a hotcorner-function (e.g. trigger the expo- or scale-plugin). The window-menu of the decoration has to list the most commonly used compiz-functions
Line 78: Line 77:
Should cover changes required to the UI, or specific UI that is required to implement this  * The graphical frontend for manipulating the custom effects-level will be changed from ccsm to simple-ccsm. We need to make sure that simple-ccsm complies with the GNOME-HIG.

 * gnome-keyboard-properties will be the place to advertise the new default compiz-shortcuts users can use.

 * the window-menu of the new window-decorator will have to be extended to yield the commonly used compiz functions

 * wnck-applet of gnome-applets will need to dynamically adapt its context-menu UI (the right-click menu) in order to display shortcuts for compiz when compiz is running (e.g. move between viewports, trigger expo-plugin, trigger scale-plugin)
Line 82: Line 87:
Code changes should include an overview of what needs to change, and in some cases even the specific details.  * compiz

 * gnome-keyboard-properties (part of gnome-control-center)

 * gnome-appearance-properties (part of gnome-control-center)

 * simple-ccsm

Line 95: Line 108:

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

  • Launchpad Entry: hardy-desktop-effects

  • Packages affected: compiz, compiz-core, compiz-plugins, compiz-fusion-plugins-main, compiz-fusion-plugins-extra

Summary

  • Top compiz bugs
    • - Listen to changes for RandR configuration. New displays/new sizes/rotations.
  • Xorg/driver related bugs
  • Compiz 0.7
    • - Not sure if we can rely on 0.7 as of now. However 0.6 will likely not be actively maintained
      • will have to contact David, to find out. This is not overly important to decide on now.
      - Large parts of core are being rewritten. Using object system. - XRender output, ability to run without OpenGL, but requires accelerated 2d video
      • -> should be as fast/slow as metacity

      - we need to check if 0.7 is better than 0.6 basicly, as there is currently
      • not a lot of new stuff (it seems to be at least)
  • use simple-ccsm as base for graphical configuration frontend
  • appearance-capplet has to use libcompizconfig to allow saving custom profile-settings
  • change default effects by adding scaleaddons, scalefilter (with case-insensitiveness) and live-preview for wall (during change animation)
  • new plugin for proper session-management
  • write new SVG-based window-decorator
  • less insane compiz-shortcuts
  • expose the compiz-shortcuts in gnome-keyboard-properties (compiz-keys.xml)
  • only one modifier-key for triggering compiz-functions (Super-key will be the default)
  • compiz shortcuts should work after purging metacity
  • make compiz features more discoverable
    • - hotcorners with a modifier (?) - window manager menu with additional compiz features - have a menu on the workspace switcher that exposes
      • functionality (scale, expose) + the keybindings
      - Display shortcuts where users are likely to look for them. i.e. when right
      • clicking on pager shows keybindings for move viewport, expo, so on, so forth.
  • fix the problem that when metacity is purged the keybindings break
    • (integration mode should write both compiz and metacity settings)
  • we have issues with multihead

Release Note

Run compiz as the default compositing/window-manager on supported graphics-hardware.

Rationale

Running compiz as default instead of metacity is meant to be as smooth and non-intrusive as possible, while improving the visual appeal and accessability of the default desktop-setup. The user should only recognize the improved visual appeal and added usability-improvements on the desktop. There should be as little breakage as possible moving from metacity to compiz in terms of behaviour, keyboard-shortcuts and themes.

Use Cases

Assumptions

Design

Implementation

  • The graphical frontend for accessing plugin-settings will based on the [https://code.launchpad.net/simple-ccsm simple-ccsm] effort.

  • The appearance-capplet will have to be ported to [https://code.launchpad.net/libcompizconfig libcompizconfig]. This change will allow saving any set of plugin-settings the user might have made (using the graphical frontend [https://code.launchpad.net/simple-ccsm simple-ccsm]) as a custom profile. That custom profile will then be used when the user switches between effects-levels (none, normal, extra, custom) in the appearance-capplet.

  • A new window-decorator needs to be written in C, which sports a SVG-backend (it is strongly advised to use [https://code.launchpad.net/librsvg librsvg] here). To prototype this new decorator it is agreed to write it in python first to gather experience of what is needed from a functionality standpoint. According to [mailto:onestone@kemper.freedesktop.org Dennis "onestone" Kasprzyk] this new window-decorator could be written in a way so that it unredirects the window, makes a frame window and reparents the window to it's decoration. After this all painting code in compiz is disabled, and then you have a 2D version of Compiz that will work without Compiz/OpenGL (we would still need a new 2d switcher plugin).

  • A new plugin for proper session-management needs to be written ([mailto:amaranth@ubuntu.com Travis "amaranth" Watkins]). This will be enabled for the normal and extra effects-levels.

  • Add scaleaddons and scalefilter (+ enable case-insensitive) to the normal effects-level. Add live-preview for wall (in the change animation) to the extra effects-level.
  • The default set of compiz keyboard-shortcuts has to be stripped down to the bare minimum. The starting point for this is the set users know from metacity. The shortcuts have to be exposed in gnome-keyboard-properties. A XML-file is used for populating the list of keyboard-shortcuts in gnome-keyboard-properties. The default "compiz modifier" will be the Super-key. A user will only be able to change the Super-key to another key (e.g. Ctrl, Alt etc) but not introduce new multi-modifier keyboard-shortcuts. That is meant to avoid mapping conflicts with shortcuts used in applications. The use of shortcuts used by compiz needs to be consistent across all compiz core-features and plugins.
  • The compiz-shortcuts need to be protected from a possible purge of metacity-shortcuts in gconf. This could be solved by writing compiz- and metacity-shortcut-settings at the same time in integration-mode (what is that mode actually?).
  • The provided features and plugins of compiz need to be made more discoverable. Triggering functions via hotcorners are meant to be bound to the "compiz-modifier" (this is the Super-key by default). So when pressing the modifier the configured hotcorners should "lighten up" to give the user a visual clue that they are now able to trigger a hotcorner-function (e.g. trigger the expo- or scale-plugin). The window-menu of the decoration has to list the most commonly used compiz-functions

UI Changes

  • The graphical frontend for manipulating the custom effects-level will be changed from ccsm to simple-ccsm. We need to make sure that simple-ccsm complies with the GNOME-HIG.
  • gnome-keyboard-properties will be the place to advertise the new default compiz-shortcuts users can use.
  • the window-menu of the new window-decorator will have to be extended to yield the commonly used compiz functions
  • wnck-applet of gnome-applets will need to dynamically adapt its context-menu UI (the right-click menu) in order to display shortcuts for compiz when compiz is running (e.g. move between viewports, trigger expo-plugin, trigger scale-plugin)

Code Changes

  • compiz
  • gnome-keyboard-properties (part of gnome-control-center)
  • gnome-appearance-properties (part of gnome-control-center)
  • simple-ccsm

Migration

  • The only current migration action that needs to happen is, if the user is running the custom effects-level. During or after the update to the new release (from feisty to hardy) some one-time script needs to generate a libcompizconfig profile of the users plugin-settings and save that as the "custom" profile. This is probably best hooked up in a configure-step of the package-install.

Test/Demo Plan

(This need not be added or completed until the specification is nearing beta.)

Outstanding Issues

  • redirected direct rendering (OpenGL-apps not working properly unter compiz, if run on system using DRI-based drivers... that means all OpenSource-drivers at the moment) the ongoing work on DRI2 will automatically fix this, it is not certain that will be ready for the Hardy-cycle

  • the current migration of workspace-layout from metacity to compiz is a unpleasant workaround, because the number of rows of the workspaces under metacity is a property of the wnck-applet and not metacity... after speaking with upstream the [http://standards.freedesktop.org/wm-spec/wm-spec-latest.html EWMH-spec] needs to be extended to make this cleaner in the future

BoF agenda and discussion

Sander Smid: Perhaps add AWN as the launcher / taskbar replacement since they now support applets. More info at http://wiki.awn-project.org/index.php?title=Main_Page (demo at: http://awn.wetpaint.com/page/Demo)

Mirco Müller: AWN will not be a default panel- or taskbar-replacement for Hardy. But it would be reasonable to have it available in universe, thus people who want it can install it easily. Maybe if interested developers push hard for it (to make it a solid alternative to the gnome-panel... I honestly don't know how well it is tested atm) it could be considered for Hardy+1. As a hint for the future, Sander, if you want to see this discussed in a thorough fashion during an Ubuntu Developer Summit create a spec for it. The wish to replace gnome-panel with awn, which is what I assume you imply, isn't something that is easily changed. A lot of thought needs to go into something like this, if you want to change installed defaults.


CategorySpec

DesktopTeam/Specs/HardyDesktopEffects (last edited 2008-08-06 16:31:28 by localhost)