Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287553 - kwin-4.2.4: missing upstream patch that fixes compositing
Summary: kwin-4.2.4: missing upstream patch that fixes compositing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://osdir.com/ml/kde-commits/2009-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-03 19:25 UTC by Alexander Smith
Modified: 2009-10-14 06:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Smith 2009-10-03 19:25:24 UTC
I get the following error in .xsession-errors when I try to enable desktop effects. I can also reproduce this by running "kcmshell4 kwincompositing":
Code:

Object::connect: No such slot KWin::KWinCompositingConfig::compositingModeChanged()
Object::connect:  (sender name:   'compositingType')
Object::connect:  (receiver name: 'KWinCompositingConfig')

This bug has apparently been fixed upstream. The one-line fix is described here: <http://osdir.com/ml/kde-commits/2009-04/msg09088.html>.

I modified the kwin-4.2.4.ebuild ebuild by adding the following line to the end of src_prepare() and it fixed the problem for me:
    sed -i 's:compositingModeChanged:changed:' "${S}"/kwin/kcmkwin/kwincompositing/main.cpp
I'm no ebuild expert, so I'm sure there's a cleaner way to effect that patch.


Reproducible: Always

Steps to Reproduce:
1. Run systemsettings.
2. Click on Desktop.
3. Check "Enable desktop effects".
4. Click Apply.
5. View ~/.xsession-errors to see the above error message.

ALTERNATIVELY:
1. Run "kcmshell4 kwincompositing" in a terminal.
2. See the error message in the terminal.

Actual Results:  
Error message:
Object::connect: No such slot KWin::KWinCompositingConfig::compositingModeChanged()
Object::connect:  (sender name:   'compositingType')
Object::connect:  (receiver name: 'KWinCompositingConfig')


Expected Results:  
Should have enabled desktop effects.

This is a clean install of KDE-4.2 from portage. This is on an i915 graphics card. In order to get OpenGL working, I needed to go to ~x86 for most X11 packages. With the fix in place, desktop effects work.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-10-14 06:15:37 UTC
The 4.3.1 which is our target has the fix :]
Sorry for missing the bugreport.