Summary: | rollout effect for dialog boxes | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ruchir Brahmbhatt <ruchir.brahmbhatt> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | lemma |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ruchir Brahmbhatt
2008-12-28 09:18:40 UTC
Anyone interested? (In reply to comment #1) > Anyone interested? > Such an effect should be easy to implement. If you want to try it we can guide you. It just needs to rotate a window. We have API calls for that, so you do not have to mess with OpenGL commands at all. I would like to try it if you can provide guidance for implementation. SVN commit 927566 by graesslin: Add new "sheet" effect based on fade. This effect animates appearing and disappearing of modal dialogs. Inspired by a Compiz Fusion effect (http://smspillaz.wordpress.com/2008/12/23/they-say-when-you-start-something/) and seems to be a Mac OS X animation as well. FEATURE: 178945 M +1 -0 CMakeLists.txt A sheet (directory) A sheet/CMakeLists.txt A sheet/sheet.cpp [License: GPL (v2+)] AM sheet/sheet.desktop A sheet/sheet.h [License: GPL (v2+)] WebSVN link: http://websvn.kde.org/?view=rev&revision=927566 I tested this effect and looks good. But I think there's scope of improvement. Can it be made to look like windows are coming out of title bar(like in mac)? Also I noticed that some unwanted windows also experience this effect for example progress bar of starting akonadi. (In reply to comment #5) > I tested this effect and looks good. But I think there's scope of improvement. > Can it be made to look like windows are coming out of title bar(like in mac)? Actually that's how it should work. A modal dialog starts from the title bar of parent window. > Also I noticed that some unwanted windows also experience this effect for > example progress bar of starting akonadi. very difficult. The effect looks for modal dialogs and it has to include modal dialogs which do not have a parent window as it would crash otherwise (example you have a "do you want to quit application" dialog. If you click on the button the parent window is destroyed at the same time -> crash). We seem not to have enough window types so it's currently most probably a can't fix :-( |