Hi all I'd like to run the latest kde desktop , but stuff keeps
crashing. Regular X just drops me right back at login, wayland lets me
log in but has some issues.

Among other things I am unable tune my keyboard settings. SIGSEGV on
XInternAtom in kcms/keyboard/x11_helper.cpp .

I found a report of a similar bug in digiKam on the web, and just for
kicks I tried the attached patch. I am now able to change keyboard
settings in plasma (wayland).

So, how do I find out if this is fixed upstream, and if not where do I
send a bug-report?
--- 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! */

Reply via email to