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

List:       kde-bugs-dist
Subject:    [kwin] [Bug 350826] [virtual box related?] Show desktop occasionally doesn't toggle on first invocat
From:       Thomas Lübking via KDE Bugzilla <bugzilla_noreply () kde
Date:       2015-11-26 23:27:18
Message-ID: bug-350826-17878-iNVsRvOu3U () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #26 from Thomas Lübking <thomas.luebking@gmail.com> ---
Ok, that just reflects your descripted actions (though I'm a bit puzzled by the
QXcbWiindow warning), so the state doesn't get actually broken.

This patch prints out all windows that get their layer revisited while showing
the desktop.
The desktop window shall be among them and its last value shall *always* be
"true".
All other windows shall "relate" to the desktop (ie. some dock or the wallpaper
dialog etc. etc., not kwrite or dolphin)

You can see the desktop WId by calling "xwininfo -int" and clicking the
desktop.

diff --git a/abstract_client.cpp b/abstract_client.cpp
index cbe5eb6..d4a52b0 100644
--- a/abstract_client.cpp
+++ b/abstract_client.cpp
@@ -216,6 +216,10 @@ void AbstractClient::invalidateLayer()

 Layer AbstractClient::belongsToLayer() const
 {
+    if (workspace()->showingDesktop()) {
+        qDebug() << "\'ID:" << window() << ";WMCLASS:" << resourceClass() <<
":"
+           << resourceName() << ";Caption:" << caption() << "\'" << geometry()
<< isDesktop();
+    }
     // NOTICE while showingDesktop, desktops move to the AboveLayer
     // (interchangeable w/ eg. yakuake etc. which will at first remain
visible)
     // and the docks move into the NotificationLayer (which is between Above-
and

-- 
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