[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 324326] Minimized windows are shown for split second when session is restored
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2013-08-31 20:21:48
Message-ID: bug-324326-17878-Yxe7m6NSk7 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=324326

Thomas Lübking <thomas.luebking@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Thomas Lübking <thomas.luebking@gmail.com> ---
> hiddenPreviews: 2
Minimized windows are not unmapped, so general visibility is in the cards.
They should however be below everything and not rendered unless for effect
reuqest.
Looking at it, i bet on the scalein effect which does not check the
minimization state.

Edit /usr/share/apps/kwin/effects/kwin4_effect_scalein/contents/code/main.js

diff --git a/kwin/effects/scalein/package/contents/code/main.js
b/kwin/effects/scalein/package/contents/code/main.js
index 91f6cfe..c404a0c 100644
--- a/kwin/effects/scalein/package/contents/code/main.js
+++ b/kwin/effects/scalein/package/contents/code/main.js
@@ -26,7 +26,7 @@ var scaleInEffect = {
     },
     isScaleWindow: function (window) {
         "use strict";
-        if (window.popupMenu || window.specialWindow || window.utility ||
+        if (window.popupMenu || window.specialWindow || window.utility ||
w.minimized ||
                 effect.isGrabbed(window, Effect.WindowAddedGrabRole)) {
             return false;
         }

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic