D21278: [Touchpad KCM] Fix kded crashing at startup

Atul Bisht noreply at phabricator.kde.org
Sat May 18 22:29:39 BST 2019


atulbi created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
atulbi requested review of this revision.

REVISION SUMMARY
  When XcbAtom::atom() is called (by kded on key press other than Kded Keyboard shortcuts), m_connection seems to be having null or 0x0 value.
  Small check on m_connection solves the issue for me.

TEST PLAN
  kded5 do not crashed at startup.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  Plasma/5.16

REVISION DETAIL
  https://phabricator.kde.org/D21278

AFFECTED FILES
  kcms/touchpad/src/backends/x11/xcbatom.cpp

To: atulbi
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190518/bcb784d4/attachment-0001.html>


More information about the Plasma-devel mailing list