tcanabrava added a comment.
Point taken, I’ll rework the patch for a regexp of servicenane + ‘-‘ + pid, this will fix your second point. About your first point, do you think it’s a problem? Just speculating, if an app opens as multiple and then another instance tries to open as unique, it should reuse the existing one or merge? I did not try to change the registered name as actually nothing happens when a second instance of an unique app opens, it silently closes - so in a way I did not registered an unique application as name - pid, I just passed the arguments to the currently opened ::multiple application, and quit. REPOSITORY R271 KDBusAddons REVISION DETAIL https://phabricator.kde.org/D25084 To: tcanabrava, adridg, dfaure Cc: dfaure, GB_2, davidedmundson, adridg, ngraham, kde-frameworks-devel, LeGast00n, michaelh, bruns