Bug 176996 - Unredirect fullscreen causes problems with effects
Summary: Unredirect fullscreen causes problems with effects
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 179017 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-05 17:29 UTC by Michal Ziabkowski
Modified: 2009-01-05 13:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Ziabkowski 2008-12-05 17:29:26 UTC
Version:            (using Devel)
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.1) 
OS:                Linux
Installed from:    Compiled sources

Present Windows behaves erratically when a fullscreen app (e.g. Konqueror in fullscreen mode) is open during the effect's activation. The cursor turns into a hand symbol, but the would-be thumbnails are covered by the fullscreen window.

This is used to work flawlessly in KDE 4.1.3. You could use Present Windows while watching a movie or browsing fullscreen. Not anymore in KDE 4.2 beta1, I'm afraid.
Comment 1 David Nadlinger 2008-12-05 17:31:42 UTC
Still there in r892934.
Comment 2 Danilo Luvizotto 2008-12-06 00:14:20 UTC
Hi,

I've been having this problem since 4.1.
I assigned the right-bottom corner to the "present windows" effect and another bottom to the grid effect. If I use firefox 3 in fullscreen (or other apps like google earth) and I move the mouse pointer to the "present windows" corner, I'll get the same problem David described. If I move the pointer to the "grid" corner, screen will no longer accept mouse input and will act as if I was holding the Ctrl button (will change desktop if I press F2, F3, ...).

Those problems happens even if I change the kwin advanced settings from opengl to xrender.
Hope the get fixed before 4.2!
Comment 3 Martin Flöser 2008-12-15 23:04:09 UTC
I think the problem is caused by unredirected full screen window. The window does not get redirected when such an effect is started. But that is just a guess.
Comment 4 Chuck 2008-12-17 23:35:17 UTC
A similar bug appears for me when the "Desktop Grid" effect is activated on a full-screen window (gwenview in full-screen is a good example).  The cursor changes to the left-pointing hand icon, and the UI becomes completely unresponsive to mouse or keyboard clicks.  I have to drop to a TTY and kill kwin to get back control.  
  In older versions of KDE I had it working where the grid would scale and you would see the fullscreen window properly.  This is a very annoying bug because accidentally activating desktop effects on fullscreen windows interrupts workflow.

  More information:
  Build: 4.1.85 (KDE 4.2 beta 2) x86-64
  Distro: Kubuntu 8.10 using the experimental repos
  Video: Nvidia 8800GT 180.11 drivers (before blaming NVidia, these effects worked with the same drivers in the KDE 4.1 series)
  
Comment 5 thomas coopman 2008-12-18 11:24:21 UTC
I have this problem also.
Tested with apps like mplayer and dragon player in fullscreen.

This is with the latest Opensuse unstable builds

kwin -v
Qt: 4.4.3
KDE: 4.1.82 (KDE 4.1.82 (KDE 4.2 >= 20081204)) "release 3.1"
KWin: 4.1.82 (KDE 4.1.82 (KDE 4.2 >= 20081204)) "release 3.1"

I'm using intel drivers:
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
Comment 6 Michal Ziabkowski 2008-12-19 14:03:09 UTC
I can confirm that setting UnredirectFullscreen=false in kwinrc solves the problem. Shouldn't this be exposed in the config module? I only stumbled upon it by browsing the code.
Comment 7 Chuck 2008-12-19 15:08:24 UTC
I can confirm the UnredirectFullscreen=false works for me too when put in the [Compositing] section.  Thanks for finding this work-around!
Comment 8 Michal Ziabkowski 2008-12-19 15:38:17 UTC
On a related note, it seems to fix problems I was having with the fullscreen navigation bar in SMPlayer (flickering video, the bar not appearing). Thought I should mention that.
Comment 9 Tiago Furtado 2008-12-20 23:21:42 UTC
I would also like to say that with notifications it flickers too. probably as it remaps to a texture and back. 

I filed a bug/wishlist with plasma so that the notifications can be hidden, but it still doesn't really fix the problem with controls/navigation bars in video progs.

Dunno if this can really be fixed without disabling unredirect, in which case I too would like to request that a toggle be added in the kwin kcm.
Comment 10 Ed 2008-12-29 14:22:31 UTC
*** Bug 179017 has been marked as a duplicate of this bug. ***
Comment 11 Martin Flöser 2009-01-05 13:52:29 UTC
SVN commit 906014 by graesslin:

Redirect windows when there is an active fullscreen effect. This solves the problem of unredirected fullscreen applications blocking effects like present windows or desktop grid.
BUG: 176996


 M  +2 -1      composite.cpp  
 M  +1 -0      effects.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=906014