I believe this bug is triggered for X11 on systems which do not actually
have a touchpad. I think the problem is:

Since

https://github.com/KDE/plasma-
desktop/commit/ce84d6ab4babc80707f4e4c1deb02cfe3ac5b7bb

TouchpadConfigContainer::m_plugin is null, because
TouchpadBackend::implementation() does not have m_mode properly set.
setMode() is supposed to be called in XlibBackend::findTouchpad(), but
this goes through the list of touchpads, which can be none, and calls
setMode() on each such touchpad.

So setMode() is never actually called and m_mode is (implicitly!)
initialized to WaylandLibinput (since it does not get set in
TouchpadBackend constructor). Then getMode() does not return any of the
expected cases in isPlatformX11() branch, which means m_plugin stays a
nullptr and then there is a crash in
TouchpadConfigContainer::sizeHint().

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to systemsettings in Ubuntu.
https://bugs.launchpad.net/bugs/1832099

Title:
  systemsettings5 crashed with SIGSEGV in
  TouchpadConfigContainer::sizeHint()

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemsettings/+bug/1832099/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to