Metacity needs command line options to activate capture before unmap and compositing without effects
Bug #791205 reported by
Florian Boucault
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Metacity |
Fix Committed
|
Undecided
|
Unassigned | ||
unity-2d |
Fix Released
|
High
|
Alberto Mardegan | ||
unity-2d (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In order to allow a smooth fallback from Unity 3D to 2D within the same session when lack of hardware/drivers support requires it, Metacity needs to be launched with the right options:
- capture before unmap activated
- compositing activated
- advanced compositing effects deactivated
This configuration of metacity should not be persistent and discarded as soon as the session exits (as to not impact for example the GNOME 2 session). Because of that it cannot be done through GConf/DConf and we should implement them as command line switches.
Related branches
lp:~mardy/metacity/command-line-conf
Superseded
for merging
into
lp:ubuntu/oneiric/metacity
- Didier Roche-Tolomelli: Needs Resubmitting
-
Diff: 4607 lines (+4393/-0) (has conflicts)42 files modified.bzr-builddeb/default.conf (+2/-0)
debian/README.Debian (+20/-0)
debian/changelog (+1668/-0)
debian/compat (+1/-0)
debian/control (+106/-0)
debian/control.in (+101/-0)
debian/copyright (+66/-0)
debian/libmetacity-dev.install (+4/-0)
debian/libmetacity-private0.install (+1/-0)
debian/metacity-common.catalog (+1/-0)
debian/metacity-common.gconf-defaults (+4/-0)
debian/metacity-common.install (+8/-0)
debian/metacity-common.manpages (+4/-0)
debian/metacity-common.sgmlcatalogs (+1/-0)
debian/metacity-message.1 (+50/-0)
debian/metacity-theme-viewer.1 (+43/-0)
debian/metacity-window-demo.1 (+25/-0)
debian/metacity.1 (+53/-0)
debian/metacity.install (+2/-0)
debian/metacity.postinst (+16/-0)
debian/metacity.prerm (+12/-0)
debian/patches/03_gtop_error.patch (+20/-0)
debian/patches/03_strict_focus.patch (+68/-0)
debian/patches/04_support_drag_drop_with_alt_tab.patch (+19/-0)
debian/patches/05_raise_on_click_for_click_mode.patch (+19/-0)
debian/patches/06_Add_UXD_shadows_and_borders.patch (+400/-0)
debian/patches/100_fade_on_long_title.patch (+45/-0)
debian/patches/101_override_gconf_settings.patch (+193/-0)
debian/patches/10_no-ws-switcher.patch (+21/-0)
debian/patches/11_hide_tooltip_on_decorator.patch (+89/-0)
debian/patches/12_dont-show-as-user.patch (+155/-0)
debian/patches/13_better_support_for_button_layout.patch (+125/-0)
debian/patches/14_wrong_colormap.patch (+24/-0)
debian/patches/15_show_maximized_titlebars.patch (+255/-0)
debian/patches/16-capture-before-unmap.patch (+337/-0)
debian/patches/17-workspace-switcher-cycle.patch (+178/-0)
debian/patches/18-auto-maximize-windows.patch (+167/-0)
debian/patches/20_do-not-place-windows-over-the-launcher.patch (+56/-0)
debian/patches/series (+16/-0)
debian/rules (+15/-0)
debian/source/format (+1/-0)
debian/watch (+2/-0)
Superseded
for merging
into
lp:~vcs-imports/metacity/master
- Didier Roche-Tolomelli: Pending requested
-
Diff: 198 lines (+84/-12)3 files modifiedsrc/core/main.c (+9/-1)
src/core/prefs.c (+74/-10)
src/include/prefs.h (+1/-1)
Changed in unity-2d: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in unity-2d (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-2d: | |
milestone: | 3.8.10 → 3.8.12 |
Changed in unity-2d: | |
milestone: | 3.8.12 → 3.8.14 |
Changed in unity-2d: | |
milestone: | 3.8.14 → 3.8.16 |
Changed in unity-2d: | |
milestone: | 4.0 → 4.2 |
Changed in metacity: | |
assignee: | nobody → Alberto Mardegan (mardy) |
Changed in unity-2d: | |
milestone: | 4.2 → 4.4 |
status: | Confirmed → In Progress |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity-2d: | |
assignee: | nobody → Alberto Mardegan (mardy) |
Changed in unity-2d: | |
milestone: | 4.4 → 4.6 |
Changed in metacity: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in unity-2d: | |
status: | In Progress → Fix Committed |
Changed in unity-2d (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-2d: | |
status: | Fix Committed → Fix Released |
Changed in unity-2d: | |
status: | Fix Released → Fix Committed |
Changed in unity-2d: | |
status: | Fix Committed → Fix Released |
Changed in metacity: | |
assignee: | Alberto Mardegan (mardy) → nobody |
To post a comment you must log in.
Update:
The scope is in fact bigger than previously thought: 2 other options were forgotten that need to be set only in a Unity 2D session:
/apps/metacity/ general/ show_maximized_ titlebars false general/ auto_maximize_ windows true
/apps/metacity/
A new simpler, more generic solution was thought by Didier: adding a command line option to metacity where one could pass a file containing a set of GConf key/value pairs that override the current ones.