I'm having issues with KDE plasma's window decorations disappearing occasionally. According to this https://bugzilla.redhat.com/show_bug.cgi?id=1247618 thread, which leads to here https://bugs.freedesktop.org/show_bug.cgi?id=91316 - xproto seems to be the culprit. The latter link mentions the bug was fixed upstream, maybe it's time for a version bump? BTW: the reporter of the bug mentions she's a Gentoo user in her report. Why oh why didn't she also took care of her Gentoo using fellows... (sigh)
Can you please test the newer 7.0.29 release?
(In reply to Tomáš Mózes from comment #1) > Can you please test the newer 7.0.29 release? I am, as the decorations seem to have disappear occasionally - this will take a few days to affirm. Since yesterday, so far so good.
Thanks for the feedback. I'm closing this for now, if problems persist, do not hesitate to re-open.
Actually, instead of opening a new bug for stabilization, let's use this one. However, 7.0.29 was pushed 17.5.2016, so we need more time for stabilization.
There exists already bug 579266 for xproto-7.0.29 stabilization. The original issue reported in this bug is fixed, so either the title should be reverted and the bug marked as fixed, or it should be marked as duplicate of bug 579266.
*** This bug has been marked as a duplicate of bug 579266 ***
Alright so, I found a way to reproduce the problem (window decorations disappearing). it's seems xproto wasn't the culprit after all. Nevertheless, since this bug's title is about xproto, I'll guess I'll just have to file a different bug under kwin - because it crashes, I think... (my xsession-errors is filled with bugs)
Is that kde-plasma/kwin or kde-base/kwin you are having problem with? We can change the title and continue.
Yes, it's kde-plasma/kwin. So, the way I reproduce the bug is by opening Kodi and switch between windowed mode and full-screen mode (using keyboard shortcut key - "\"). Then apparently, kwin crashes, windows lose their decorations and moving or raising them isn't working. So, to get out of this situation I use Alt+F2: kwin_x11 --replace and then I kill Kodi.bin. I found that by deleting ~/.kde4 I can temporarily avoid the crash, however, it's only temporary since plasma 5 creates that folder again later. One more thing is that my xsession-erros file is swarming with bugs (pun intended), right from the beginning of the session. bugs start to accumulate there, after a couple of hours of KDE session I have almost 20k lines of errors. Nevertheless, I think these are perhaps the relevant lines since they seem to generate closely to time where the crash happens: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16919, resource id: 67108866, major code: 15 (QueryTree), minor code: 0 kwin_x11: Couldn't find current GLX or EGL context. Application::crashHandler() called with signal 11; recent crashes: 1 Could not resolve property : radialGradient4857 Could not resolve property : radialGradient4857 Could not resolve property : radialGradient4857 Could not resolve property : radialGradient4857 QXcbConnection: XCB error: 2 (BadValue), sequence: 21590, resource id: 52547210, major code: 141 (Unknown), minor code: 3
Just wanted to update that I've installed KDE 5 via kde-plasma/plasma-desktop (which is the minimal kde package). However, on my latest update, portage alerted me to install kde-apps/kdebase-runtime-meta Now, even though my .xsession-erros file still gets bloated with errors, it seems that the kwin crash I had upon toggling full-screen in Kodi has stopped. (I report this after a few hours of testing)
kde-apps/kdebase-runtime-meta as a KDE Applications package has no relation to Plasma-5, and it only contains kdelibs4-based stuff.
Well, maybe it's one of the dependencies it pulled that did the trick then: <code> # qlop -l | grep 'Sun Jun 12' Sun Jun 12 19:07:05 2016 >>> net-misc/socat-1.7.3.1 Sun Jun 12 19:07:17 2016 >>> kde-apps/kcmshell-15.12.3 Sun Jun 12 19:07:28 2016 >>> kde-apps/ktimezoned-15.12.3 Sun Jun 12 19:07:41 2016 >>> kde-apps/keditfiletype-15.12.3 Sun Jun 12 19:07:52 2016 >>> kde-apps/kmimetypefinder-15.12.3 Sun Jun 12 19:08:07 2016 >>> kde-apps/solid-runtime-15.12.3 Sun Jun 12 19:08:17 2016 >>> kde-apps/kreadconfig-15.12.3 Sun Jun 12 19:08:28 2016 >>> kde-apps/ktraderclient-15.12.3 Sun Jun 12 19:08:37 2016 >>> kde-apps/kdebase-menu-icons-15.12.3 Sun Jun 12 19:08:48 2016 >>> kde-apps/knewstuff-15.12.3 Sun Jun 12 19:08:59 2016 >>> kde-apps/kquitapp-15.12.3 Sun Jun 12 19:09:12 2016 >>> kde-apps/kurifilter-plugins-15.12.3 Sun Jun 12 19:09:50 2016 >>> kde-apps/plasma-runtime-15.12.3 Sun Jun 12 19:10:01 2016 >>> kde-apps/kdontchangethehostname-15.12.3 Sun Jun 12 19:10:11 2016 >>> kde-apps/kiconfinder-15.12.3 Sun Jun 12 19:10:24 2016 >>> kde-apps/knotify-15.12.3 Sun Jun 12 19:10:35 2016 >>> kde-apps/kstart-15.12.3 Sun Jun 12 19:10:46 2016 >>> kde-apps/kimgio-15.12.3 Sun Jun 12 19:10:56 2016 >>> kde-apps/kdebase-menu-15.12.3 Sun Jun 12 19:11:08 2016 >>> kde-apps/kpasswdserver-15.12.3 Sun Jun 12 19:11:19 2016 >>> kde-apps/kdebase-desktoptheme-15.12.3 Sun Jun 12 19:11:35 2016 >>> kde-apps/phonon-kde-15.12.3 Sun Jun 12 19:11:46 2016 >>> kde-apps/kfile-15.12.3 Sun Jun 12 19:11:57 2016 >>> kde-apps/kioclient-15.12.3 Sun Jun 12 19:12:09 2016 >>> kde-apps/kdebugdialog-15.12.3 Sun Jun 12 19:12:20 2016 >>> kde-apps/renamedlg-plugins-15.12.3 Sun Jun 12 19:12:48 2016 >>> kde-apps/kde-wallpapers-15.08.3 Sun Jun 12 19:12:56 2016 >>> kde-plasma/kwallet-pam-5.6.4-r1 Sun Jun 12 19:13:09 2016 >>> kde-apps/kdebase-data-15.12.3 Sun Jun 12 19:13:14 2016 >>> kde-apps/kdebase-runtime-meta-15.12.3 </code> Or maybe, the problem stems from a kde 4 conflict - as I mentioned previously, by deleting ~/.kde4 folder I could temporarily avoid the crash...
Update: Kwin still randomly crashes, albeit not upon toggling Kodi full screen mode anymore.
Created attachment 440386 [details, diff] Patch to address kwin crashes. jhon do you have nvidia video card with nvidia-drivers? It is your case: https://bugs.kde.org/show_bug.cgi?id=347495 ? Can you apply attached file for check?
(In reply to Azamat H. Hackimov from comment #14) > Created attachment 440386 [details, diff] [details, diff] > Patch to address kwin crashes. > > jhon do you have nvidia video card with nvidia-drivers? It is your case: > https://bugs.kde.org/show_bug.cgi?id=347495 ? > > Can you apply attached file for check? Hi, I have nvidia card but am using nouveau driver. Anyways, I applied the patch yet unfortunately I still get the decorations crashes. Lately (maybe past 2 weeks), it become even worse as previously I could issue: kbuildsycoca5 ; kquitapp5 plasmashell && plasmashell using krunner (alt+F2) and then plasma would refresh itself. but this is no longer the case, since now plasma refreshes itself but the decorations remain hidden and windows cannot be controlled through kde's task manager...
Update: Ever since I upgraded to plasma 5.6 (stable version currently 5.6.5) it seems the crashes are gone. Therefore I deduce the problem was either in one of Plasma 5.5 parts such as kwin for instance, or qt 5.5 and it's a shame that a buggy version was released as stable. :(
Glad it works for you now. (In reply to jhon from comment #16) > and it's a shame that a buggy version was released as stable. :( No software is free of bugs.
Well, the bug is back :(
Can you please provide some more info about the changes done on the system, versions, etc.?
Sure, what versions do you need? I have kde-plasma/kwin-5.6.5-r1 and dev-qt/qtcore both versions 4.8.6-r2 and 5.6.1 (unfortunately some kde apps still need the 4th version, for instance: >=app-text/poppler-0.20[qt4,-exceptions(-)] required by (kde-apps/okular-16.04.3:4/16.04::gentoo, installed) I can tell you that it only happens when I'm toggling full-screen mode - but not every time. E.g I can watch some video posted on a news site on the web, then make it full screen mode (to see clearer), yet once I exit full screen mode - all the windows on the desktop will have no decorations (borders, buttons, etc...). However, once I log out and back in trying to reproduce the same issue it won't necessarily happen again. Therefore I say it crashes occasionally, the only pattern I see is the full screen mode.
(In reply to jhon from comment #20) > Sure, what versions do you need? Mostly KDE software versions.
Is this still a problem?
(In reply to Tomáš Mózes from comment #22) > Is this still a problem? Actually, now that Plasma 5.7 became stable I haven't encountered the issue as of yet. However, it was like that when Plasma 5.6 became stable and only after a while the issue popped up again. So I can't confirm the issue is gone...
Closing again, if it happens again, feel free to reopen.