Bug 99921 - fade on switching desktops using XComposite
Summary: fade on switching desktops using XComposite
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 13:57 UTC by Mircea Bardac
Modified: 2009-02-04 05:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Bardac 2005-02-21 13:57:37 UTC
Version:           3.4 beta 2 (using KDE KDE 3.3.92)
Installed from:    Unlisted Binary Package

I'm not sure if this is possible given the current implementation.

I've come up with this idea while analysing bug http://bugs.kde.org/show_bug.cgi?id=99841 .
The way I see fading on desktop switching (might be a nonsense, sorry in this case)

Testcase: switching from desktop #1 to desktop #2.
Hypothetical implementation:
0. you're in desktop #1
1. click on another desktop (#2) in the pager
2. while being on #1
a) take a screenshot
b) place the screenshot in a virtual window(=W) on #2 (make sure W does not have a shadow, even if shadows are enabled - it adds shadow_color tint to the screenshot and looks ugly)
3) switch to desktop #2
4) set focus to correct application
5) start fading out the virtual window(W) with the screenshot of #1

I'm not sure if, by putting W over all the apps in #2, being inactive, you will still be able to control apps under the fading W. This must be some somewhere in the inner-workings of XComposite (which I'm not aware of).
Comment 1 lucas 2008-12-13 11:13:06 UTC
Got a new desktop effect ready, just need to wait for trunk thawing before committing. Will be in KDE 4.3.
Comment 2 lucas 2009-02-04 05:01:51 UTC
SVN commit 911326 by lmurray:

Merge branch 'fadeeffect'

Conflicts:
       kcmkwin/kwincompositing/main.cpp

 M  +2 -0      effects/CMakeLists.txt
 A             effects/fadedesktop.cpp   [License: GPL (v2+)]
 A             effects/fadedesktop.desktop
 A             effects/fadedesktop.h   [License: GPL (v2+)]
 M  +15 -1     kcmkwin/kwincompositing/main.cpp