[kmail2] [Bug 367598] New: Kmail needs to force platform xcb on Linux
Martin Gräßlin via KDE Bugzilla
bugzilla_noreply at kde.org
Sat Aug 20 08:20:17 BST 2016
https://bugs.kde.org/show_bug.cgi?id=367598
Bug ID: 367598
Summary: Kmail needs to force platform xcb on Linux
Product: kmail2
Version: Git (master)
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-bugs at kde.org
Reporter: mgraesslin at kde.org
Due to Qt-Bug https://bugreports.qt.io/browse/QTBUG-55384 KMail crashes on
startup on Wayland. If one specifies "--platform xcb" manually kmail starts and
is usable.
As we cannot expect users to know that KMail cannot be used on Wayland, we
should make kmail default to xcb.
Reproducible: Always
Steps to Reproduce:
1. Run Plasma Wayland session
2. Try to start kmail
Actual Results:
KMail crashes
Expected Results:
KMail does not crash
The easiest way to work around the Qt bug is to put a:
qputenv("QT_QPA_PLATFORM", "xcb");
before creating the QGuiApplication. This should of course only be done when
running on Linux. An example how to do this is in KWin
https://quickgit.kde.org/?p=kwin.git&a=blob&h=e4db348bf6dc01b431257e88129a8d7ea14ff92e&hb=a67ccc3529326e6ee8a615ede312aea3b33e844a&f=main_x11.cpp
(line 404)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list