D7479: klauncher: fix appId matching for flatpak apps

Elvis Angelaccio noreply at phabricator.kde.org
Wed Aug 23 10:43:48 UTC 2017


elvisangelaccio created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  With flatpak applications we can have the following scenario:
  
    appId= "org.kde.ark.kdbus-_1_769" newAppId= "org.kde.ark.kdbus" pendingAppId= "org.kde.ark"
  
  This breaks matchesPendingRequest(), resulting in an annoying
  `"KDEInit could not launch '/usr/bin/flatpak'"` dialog after closing the app.
  
  This patch adds an explicit check for this case.

TEST PLAN
  - install ark flatpak
  - kde-open5 foo.zip
  - close ark

REPOSITORY
  R303 KInit

BRANCH
  kdbus-appId

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

AFFECTED FILES
  src/klauncher/klauncher.cpp

To: elvisangelaccio, dfaure, apol
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170823/2d2a8600/attachment.html>


More information about the Kde-frameworks-devel mailing list