D16418: [kcmkwin/kwindesktop] Fix global shortcut's display name for kwin changing

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson created this revision.
davidedmundson added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
davidedmundson requested review of this revision.

REVISION SUMMARY
  KGlobalAcceld stores actions grouped by ID and a single display name.
  When any action with an id changes the display names all actions in that
  group.
  
  The KCM sets the ID to "kwin" but does not explicitly set a display
  name. This means it is automatically deduced which will be kcmshell or
  systemsettings.
  
  The end result is all kwin shortcuts get renamed in system settings'
  global shortcuts UI until kwin is restarted.
  
  This patch explicitly sets the dispay name.
  
  BUG: 400248
  Fixed-in: 5.15.0

TEST PLAN
  Changed virtual desktops
  Checked global shortcut settings still listed kwin as kwin

REPOSITORY
  R108 KWin

BRANCH
  master

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

AFFECTED FILES
  kcmkwin/kwindesktop/main.cpp

To: davidedmundson, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.