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

            Bug ID: 398654
           Summary: QT_QPA_PLATFORM, unset by default, defaults to xcb,
                    causing Xwayland to segfault due to not being able to
                    handle Plasma Shell
           Product: plasmashell
           Version: 5.13.90
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: generic-crash
          Assignee: plasma-b...@kde.org
          Reporter: kyle.de...@mykolab.com
  Target Milestone: 1.0

I discovered that because QT_QPA_PLATFORM is unset by default, Qt 5.11.1
defaults it to xcb, meaning that when kwin_wayland starts /usr/lib/startplasma
via startplasmacompositor, Plasma Shell runs on Xwayland.

Xwayland can't seem to handle Plasma Shell, causing Xwayland to segfault in
short order.

If I add QT_QPA_BACKEND=wayland to the startplasmacompositor script, Plasma
Shell never crashes under any circumstances.

I've heard that Qt5 was supposed to sort out QT_QPA_BACKEND automatically by
giving each application what it prefers, however, either it's not working out
in practice, or this is something that's coming in a later major release.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to