Summary: | Keyboard KCM crashes when checking Advanced > Configure keyboard options (on Wayland) | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Matthias Fauconneau <matthias.fauconneau> |
Component: | kcm_keyboard | Assignee: | Andriy Rysin <arysin> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bugseforuns, christian.lindberg, hakon, jhnpwa, wingrime |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=379325 | ||
Latest Commit: | https://commits.kde.org/plasma-desktop/5cd48d672782bc11b4f949a3646aa5bc4224ab85 | Version Fixed In: | |
Sentry Crash Report: |
Description
Matthias Fauconneau
2016-08-17 08:57:43 UTC
I can confirm this testing plasma-wayland-devedition-gitunstable-20170128-2117-amd64.iso *** Bug 379325 has been marked as a duplicate of this bug. *** Have same problem, patch below works around it. Not claiming this is "The Right Way" -------------------- --- a/kcms/keyboard/x11_helper.cpp 2017-06-08 21:04:52.650000000 +0200 +++ b/kcms/keyboard/x11_helper.cpp 2017-06-08 21:02:23.880000000 +0200 @@ -239,6 +239,13 @@ char *prop_data = NULL; Status ret; + if (!QX11Info::isPlatformX11()) + { + qCWarning(KCM_KEYBOARD) << "Desktop platform is not X11"; + return false; + } + + Atom rules_atom = XInternAtom(display, _XKB_RF_NAMES_PROP_ATOM, False); /* no such atom! */ *** Bug 381305 has been marked as a duplicate of this bug. *** *** Bug 382211 has been marked as a duplicate of this bug. *** No crash on Arch, plasma 5.11. Maybe fixed? Fixed by Martin Flöser. See https://commits.kde.org/plasma-desktop/5cd48d672782bc11b4f949a3646aa5bc4224ab85 |