I'm having problems with KCM for windows decoration. Sometimes when I open it I see just a black window, without any options or decorations. If it loads something, it looks really weird. It is mixing a list of available decorations with some configuration which is barely visible when using breeze dark plasma theme. I'm not sure how it's suppose to look, but it seems to be confusing, there is even no separator between the list of available decorations and the configuration. Reproducible: Always I see some QML errors when I lunch it from konsole: file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeHelpButton.qml:121: Error: Cannot assign [undefined] to bool file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeCloseButton.qml:75:5: QML Connections: Cannot assign to non-existent property "onAppMenuChanged" file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeStickyButton.qml:91:5: QML Connections: Cannot assign to non-existent property "onAppMenuChanged" file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeStickyButton.qml:71:22: Unable to assign [undefined] to bool file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/BreezeMaximizeButton.qml:99:22: Unable to assign [undefined] to bool file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/main.qml:339:31: Unable to assign [undefined] to QString file:///opt/kde-devel/share/kwin/decorations/kwin4_decoration_qml_breeze/contents/ui/main.qml:142:14: Unable to assign int to QObject*
Created attachment 90012 [details] Screenshot of the KCM.
The warnings are unrelated: they are all for the qml breeze decoration which got git rm-ed. The problem is probably that it's a QQuickWidget. If once we switched to Qt 5.4 it's still happening we need to switch back to the ugly way.
the problem of the colors with breeze dark is bug #337544. Which is addressed by https://git.reviewboard.kde.org/r/122027/. The main problem of black window should(TM) be fixed by Qt 5.4.
The black window still happens here with Qt 5.4
*** Bug 343299 has been marked as a duplicate of this bug. ***
*** Bug 343388 has been marked as a duplicate of this bug. ***
Adding RR URL to workaround https://bugreports.qt.io/browse/QTBUG-40765
*** Bug 343400 has been marked as a duplicate of this bug. ***
Git commit 63885cc5b3f2922441dac0af96ed001b737e78ea by Marco Martin. Committed on 28/01/2015 at 08:58. Pushed by mart into branch 'Plasma/5.2'. use xembed for the qml view of window decorations modul the only way to ensure the view won't randomly become black (probably QQuickwidget won't be fixed in qt anytime soon or ever in 5.x lifetime due to how architecturally is) basically systemsettings has no control of what gets loaded in, if one other kcm will call winId(), this one will break. M +22 -18 kcmkwin/kwindecoration/kcm.cpp M +2 -0 kcmkwin/kwindecoration/kcm.h M +1 -4 kcmkwin/kwindecoration/kcm.ui M +11 -7 kcmkwin/kwindecoration/qml/main.qml http://commits.kde.org/kwin/63885cc5b3f2922441dac0af96ed001b737e78ea