D21779: Resolve X-Flatpak-RenamedFrom

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jun 13 11:46:41 BST 2019


broulik created this revision.
broulik added reviewers: Plasma, sitter.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  When an application got renamed by flatpak-builder without knowing it, it will still send its original value as `desktop-entry` breaking the mapping and settings.

TEST PLAN
  Telegram sent `telegramdesktop` as `desktop-entry`, now resolves to the actual desktop file `org.telegram.desktop`
  
  This likely needs an addition to the `application.desktop` KService definition and there's also a bug in the service trader/parser not handling desktop file lists properly (they are separted by semi-colon `;` and have a trailing one, vs KConfig which is just a simple comma `,`)

REPOSITORY
  R120 Plasma Workspace

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

AFFECTED FILES
  libnotificationmanager/notification.cpp
  libnotificationmanager/notification_p.h

To: broulik, #plasma, sitter
Cc: plasma-devel, LeGast00n, ericadams, 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/20190613/b435e344/attachment.html>


More information about the Plasma-devel mailing list