Bug 255129

Summary: Kwin: Media player buttons don't work in full screen if desktop effects are enabled
Product: [Plasma] kwin Reporter: David Nemeskey <nemeskey.david>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.3.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Nemeskey 2010-10-24 18:37:51 UTC
Version:           4.3.2 (using KDE 4.5.2) 
OS:                Linux

If desktop effects are enabled, media player controls that are hidden and appear at the bottom of the screen if the user moves the mouse there don't work. Not only Kaffeine & friends but flash-based online players are affected as well. The exact symptoms and extent varies.

With Kaffeine, the control bar appears when the mouse gets in its 50? pixels vicinity, but disappears, when I move the mouse over it.
With the Youtube player, the gauge is usable but the buttons under it do not react to mouse clicks, even though tooltips appear when I move the mouse over the buttons.
Jwplayer works.

Come to think of it: it seems as if only the controls exactly at the bottom of the screen were affected. Could it be that kwin somehow messes up the coordinates or the screen size for mouse clicks (tooltips work -- see above)? I have a 1280x800 resolution, but maybe it thinks it is only 768 pixels high?

I have a Dell Inspiron 1420 w/ Intel GM965 graphics controller and a resolution of 1280x800.

Reproducible: Always

Steps to Reproduce:
1. Turn on desktop effects.
2. Watch something in Kaffeine or Youtube.
3. Move the mouse to the bottom of the screen, and try using the controls there.


Actual Results:  
See above.

Expected Results:  
The controls should react normally, as they do without compositioning (desktop effects).
Comment 1 David Nemeskey 2010-10-24 18:41:35 UTC
I have just tried to change my resolution to 1024x768. Now whereever I click in the youtube player, for instance, I can only activate the pause/play toggle. The problem must definitely be related to screen resolution.
Comment 2 Thomas Lübking 2010-10-24 18:55:17 UTC
i'd rather say it's because of unredirection.
does adding
   UndirectFullscreen=false
to the [Compositing] section in ~/.kde/share/config/kwinrc and calling
   qdbus org.kde.kwin /KWin reconfigure
afterwards "fix" it (notice that this has impact on the performance of fullscreen applications)
Comment 3 David Nemeskey 2011-03-06 09:09:04 UTC
> i'd rather say it's because of unredirection.
> does adding
>    UndirectFullscreen=false
> to the [Compositing] section in ~/.kde/share/config/kwinrc and calling
>    qdbus org.kde.kwin /KWin reconfigure
> afterwards "fix" it (notice that this has impact on the performance of
> fullscreen applications)
Sorry for not replying for so long! Actually I switched off compositioning entirely because it causes so many other problems (I still have some stuff written in my xorg.conf, such as EXA and stuff, so I'll try to remove them).

However, I enabled it today, set undirection to false, and perceived no change whatsoever. So apparently it's not because of that.
Comment 4 Martin Flöser 2011-07-10 06:42:55 UTC
setting as duplicate to a newer bug describing the same problem for a different application.

*** This bug has been marked as a duplicate of bug 274880 ***