https://bugs.kde.org/show_bug.cgi?id=395381
--- Comment #11 from ahc <ali.h.calis...@protonmail.com> --- Martin is right, it is a Xwayland bug, and nothing to do with kwin or plasma. I'm able to use plasma-5.13.1 without this issue by setting QT_QPA_PLATFORM to QT_QPA_PLATFORM=wayland. For time being I've patched plasma-workspace to set QT_QPA_PLATFORM to wayland, while I'm waiting for the Xwayland bug to be fixed. Here is the patch: --- a/shell/main.cpp 2018-06-21 19:32:15.233320641 +0200 +++ b/shell/main.cpp 2018-06-21 19:32:57.733320349 +0200 @@ -63,13 +63,8 @@ QQuickWindow::setDefaultAlphaBuffer(true); - const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM"); KWorkSpace::detectPlatform(argc, argv); QApplication app(argc, argv); - if (!qpaVariable) { - // don't leak the env variable to processes we start - qunsetenv("QT_QPA_PLATFORM"); - } KLocalizedString::setApplicationDomain("plasmashell"); // The executable's path is added to the library/plugin paths. --- a/krunner/main.cpp 2018-06-21 19:35:05.889986144 +0200 +++ b/krunner/main.cpp 2018-06-21 19:35:40.136652576 +0200 @@ -44,14 +44,9 @@ qunsetenv("QT_DEVICE_PIXEL_RATIO"); QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); - const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM"); KWorkSpace::detectPlatform(argc, argv); QQuickWindow::setDefaultAlphaBuffer(true); QApplication app(argc, argv); - if (!qpaVariable) { - // don't leak the env variable to processes we start - qunsetenv("QT_QPA_PLATFORM"); - } KLocalizedString::setApplicationDomain("krunner"); KQuickAddons::QtQuickSettings::init(); --- a/startkde/startplasmacompositor.cmake 2018-06-21 19:37:31.296651839 +0200 +++ b/startkde/startplasmacompositor.cmake 2018-06-21 19:38:21.243318161 +0200 @@ -218,6 +218,10 @@ XDG_CURRENT_DESKTOP=KDE export XDG_CURRENT_DESKTOP +#enforce wayland QPA +QT_QPA_PLATFORM=wayland +export QT_QPA_PLATFORM + # kwin_wayland can possibly also start dbus-activated services which need env variables. # In that case, the update in startplasma might be too late. if which dbus-update-activation-environment >/dev/null 2>/dev/null ; then -- You are receiving this mail because: You are watching all bug changes.