[Bug 659886] New: Desktop Effects re-enable themselves after log out of GNOME/after shutdown with Compiz ( via Simple CCSM ) on openSUSE 11.4
https://bugzilla.novell.com/show_bug.cgi?id=659886 https://bugzilla.novell.com/show_bug.cgi?id=659886#c0 Summary: Desktop Effects re-enable themselves after log out of GNOME/after shutdown with Compiz ( via Simple CCSM ) on openSUSE 11.4 Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 5 of 6 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Compiz AssignedTo: bnc-team-compiz@forge.provo.novell.com ReportedBy: Martin.Seidler@web.de QAContact: ories@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b7) Gecko/20101105 Firefox/4.0b7 Desktop Effects (Compiz) re-enable themselves Desktop Effects (Compiz) are not staying disabled/off ("child_exception" missing?/child missing?/rights for the raising the child/visitation missing? ). Probably there is an easy workaround: uninstall all Compiz packages. My system: openSUSE 11.4 factory-tested (now status Milestone 5 - until Milestone 3 updated to factory or factory-tested) Linux 2.6.37-rc5-12-desktop GNOME 2.32.1 i686 i386 Samsung X20 Pentium M 740 Intel 915GM 1400x1050 The bug is there/shown till I could activate Desktop Effects on openSUSE 11.4 factory / factory-tested / milestones at all (see bug #642963 https://bugzilla.novell.com/show_bug.cgi?id=642963 Unable to launch desktop effects - 'compizconfig.Plugin' object has no attribute 'Screens'). Reproducible: Always Steps to Reproduce: 0. ? (Log in GNOME, enable Compiz ("Desktop Effects") via Simple CCSM, log out/shut down) ? 1. Log in GNOME, dis-enable Compiz ("Desktop Effects") via Simple CCSM, log out/shut down 2. Boot/log in again. Actual Results: Compiz ("Desktop Effects") are again enabled (unwanted [because of bug 656060] and without doing anything else). Expected Results: Disable Compiz ("Desktop Effects") via Simple CCSM and let them stay disabled Trying to do a bit troubleshoting: Starting simple-ccsm (named "Desktop Effects" in the Control Center) via console emulator (GNOME terminal) gives: [CODE]~> simple-ccsm Backend : ini Integration : true Profile : default Adding plugins Initializing core options...done Initializing animation options...done Initializing animationaddon options...done Initializing ezoom options...done Initializing mag options...done Initializing cube options...done Initializing cubeaddon options...done Initializing switcher options...done Initializing shift options...done Initializing ring options...done Initializing staticswitcher options...done Initializing compiztoolbox options...done Initializing mousepoll options...done Initializing move options...done Initializing gnomecompat options...done Initializing decor options...done Initializing opengl options...done Initializing place options...done Initializing thumbnail options...done Initializing wobbly options...done Initializing glib options...done Initializing screenshot options...done Initializing composite options...done Initializing imgpng options...done Initializing resize options...done Initializing rotate options...done Initializing imgjpeg options...done Initializing workarounds options...done [/CODE] and than clicking on "[] Enable desktop effects" to "[x] Enable desktop effects" gives: [CODE] Traceback (most recent call last): File "/usr/bin/simple-ccsm", line 1326, in EnableDesktopEffectsChanged subprocess.Popen(cmd) File "/usr/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory [(CODE] and than clicking on "[x] Enable desktop effects" to "[ ] Enable desktop effects" gives: [CODE] Checking for Xgl: not present. xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log Detected PCI ID for VGA: 00:02.0 0300: 8086:2592 (rev 03) (prog-if 00 [VGA controller]) Checking for software rasterizer: not present. Checking for texture_from_pixmap: present. Checking for non power of two support: present. Checking for Composite extension: present. Comparing resolution (1400x1050) to maximum 3D texture size (2048): Passed. Checking for nVidia: not present. Checking for FBConfig: present. Checking for Xgl: not present. Starting gtk-window-decorator /usr/bin/compiz (core) - Warn: Unknown option '--ignore-desktop-hints' Backend : ini Integration : true Profile : default Adding plugins Initializing core options...done Initializing gnomecompat options...done Initializing resize options...done Initializing move options...done Initializing decor options...done Initializing opengl options...done Initializing composite options...done Backend : ini Integration : true Profile : default Adding plugins Initializing core options...done Initializing composite options...done Initializing opengl options...done Initializing imgjpeg options...done Initializing decor options...done Initializing workarounds options...done Initializing gnomecompat options...done Initializing wobbly options...done Initializing place options...done Initializing resize options...done Initializing mousepoll options...done Initializing move options...done Initializing screenshot options...done /usr/bin/compiz (core) - Error: Plugin 'text' not loaded. Initializing thumbnail options...done Initializing cube options...done Initializing rotate options...done Setting Update "firefox_menu_fix" Setting Update "notification_daemon_fix" Setting Update "mode" [/CODE] Again disabling: [CODE] Traceback (most recent call last): File "/usr/bin/simple-ccsm", line 1326, in EnableDesktopEffectsChanged subprocess.Popen(cmd) File "/usr/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory [/CODE] Probably easy workaround: - uninstall all the compiz staff? I could live without 3-D effects. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c1
Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c2
Dominique Leuenberger
rm ~/.config/compiz/enable-compiz
This should stop compiz from being started on login. I'll check why simple-ccsm fails to do this on it's own.
From the log: Traceback (most recent call last): File "/usr/bin/simple-ccsm", line 1326, in EnableDesktopEffectsChanged subprocess.Popen(cmd) File "/usr/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child raise child_exception
those are not 'that interesting': It's trying to signal KDE to change it's config not to launch compiz. You don't have kwrite installed, thus it spits those errors. OSError: [Errno 2] No such file or directory This is actually the one that should try to remove the file mentioned above. I can reproduce the behavior here (just never tested it :) ) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c3
--- Comment #3 from Dominique Leuenberger
From the log:
Traceback (most recent call last): File "/usr/bin/simple-ccsm", line 1326, in EnableDesktopEffectsChanged subprocess.Popen(cmd) File "/usr/lib/python2.7/subprocess.py", line 672, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1201, in _execute_child raise child_exception
those are not 'that interesting': It's trying to signal KDE to change it's config not to launch compiz. You don't have kwrite installed, thus it spits those errors.
OSError: [Errno 2] No such file or directory This is actually the one that should try to remove the file mentioned above. I can reproduce the behavior here (just never tested it :) )
Actually, it seems this is the non-caught error for not being able to execute kwriteconfig. I will catch the error, fix it upstream and commit a fix this afternoon. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c4
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c5
--- Comment #5 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c6
--- Comment #6 from Dominique Leuenberger
Thanks.
1) Your workaround (to remove ~/.config/compiz/enable-compiz ) does help.
That;s good to know... that means the underlying logic is still in place and functions.
2) But the updated
simple-ccs Version: 0.9.2.1-51,1 (i586)) Latest build: 12/16/2010 16 December 2010 (dimstar@opensuse.org): - Forward to current git: + Catch error when trying to disable compiz and kwriteconfig is not found on the system. Fixes bnc#659886. [...]
does not fix the problem.
It does something "more" than the workaround:
~/.config/compiz/compiz-manager was removed, too as I unchecked the "[ ] enable desktop effects" field.
This is correct. compiz-manager is an 'override' file which would instruct compiz to start even if the auto detection says your machine is not suitable. forcibly enabling compiz in simple-ccsm puts this file, disabling takes it away again... so this is all correct.
Maybe compiz/the original "big"/"non-simple" compiz manager reinstalled a default compiz configuration (with enabled compiz) in this case after login? (just a guess).
ccsm does not read those two files in .config/compiz, but only reads the subfolder (libcompizconfig) in there. So does actually compiz itself. I'm currently a bit puzzled as of why the workaround (1) would work for you, but simple-ccsm removing the same file would not have the same effect. This sounds very odd. Will have to investigate further on this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c7
--- Comment #7 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c8
--- Comment #8 from Martin Seidler
https://bugzilla.novell.com/show_bug.cgi?id=659886
https://bugzilla.novell.com/show_bug.cgi?id=659886#c9
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com