Bug 537791 - When using metacity with compositing enabled, desktop effects cannot be enabled anymore
Summary: When using metacity with compositing enabled, desktop effects cannot be enabl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: metacity
Version: 12
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-16 11:42 UTC by Oded Arbel
Modified: 2009-12-27 20:27 UTC (History)
3 users (show)

Fixed In Version: 2.28.0-13.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-27 20:27:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Oded Arbel 2009-11-16 11:42:21 UTC
Description of problem:
Normally the desktop-effects setting dialog can be used to switch between metacity (no effects) and compiz (3d effects) by replacing compiz with metacity and vice versa.

The problem is that if metacity has compositing enabled (using the compisiting_manager setting in gconf), then compiz fails to start when metacity is still running, and desktop-effects fails reverts back to metacity after compiz stops.

Version-Release number of selected component (if applicable):
0.8.4-2.fc12.x86_64

How reproducible:
Always

Steps to Reproduce:
1. With metacity running, run gconf-editor and enable compositing_manager under /apps/metacity/general
2. Run desktop-effects
3. Choose compiz
  
Actual results:
desktop-effects tries to run compiz, compiz breaks and desktop-effects runs metacity again and shows an error message

Expected results:
Compiz should start running.

Additional info:
When running compiz manually through the terminal, the following error message is shown:
compiz (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
compiz (core) - Fatal: No manageable screens found on display :0.0

I can see a few possible solutions for this problem:
1.desktop-effects should disable compositing in metacity before replacing it with compiz. The problem with that is presumably you'd need to know that it should be renabled if metacity is ever to be run again, so desktop-effects need to check the status of compositing in metacity, disable it, run compiz, and then set compositing back on after either compiz runs successfuly or breaks.
2. desktop-effects should kill the currently running window manager before attempting to run compiz, on the change that the current window manager has a compositing manager that will prevent compiz from starting.
3. Make sure compiz can take over compositing from a running compositing manager.

Comment 1 Owen Taylor 2009-11-16 14:14:36 UTC
Upstream bug is:

https://bugzilla.redhat.com/show_bug.cgi?id=537791

Since we don't support the metacity compositor, I'm a bit disinclined to carry a patch, but a tested reasonable looking patch does exist.

Comment 2 Oded Arbel 2009-11-16 14:22:50 UTC
The URL that you specified for the upstream bug is the URL for this bug...

Comment 3 Bug Zapper 2009-11-16 15:41:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Owen Taylor 2009-11-16 15:42:47 UTC
Sorry:

 https://bugzilla.gnome.org/show_bug.cgi?id=530702

Comment 5 Oded Arbel 2009-11-16 17:50:46 UTC
Thanks for locating the upstream bug report - I think this should definitely be fixed in GNOME so I'll try to get this fixed there.

Comment 6 Fedora Update System 2009-12-10 23:53:21 UTC
metacity-2.28.0-12.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/metacity-2.28.0-12.fc12

Comment 7 Fedora Update System 2009-12-11 18:22:34 UTC
metacity-2.28.0-12.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update metacity'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13084

Comment 8 Fedora Update System 2009-12-22 04:38:21 UTC
metacity-2.28.0-13.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update metacity'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13084

Comment 9 Fedora Update System 2009-12-27 20:26:55 UTC
metacity-2.28.0-13.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.