broulik added inline comments. INLINE COMMENTS
> GtkEventSpy.cpp:125 > + > + app.name = attributes.value("exec"); > + // remove "'" caracters wrapping the command and any character after > a space It stores the full `Exec` line of the desktop file, including the `%u`. What you probably want do to is use `KServiceTypeTrader` to find the application with said Exec line. auto services = KServiceTypeTrader::self()->query(QStringLiteral("Application"), QStringLiteral("exist Exec and ('%1' == Exec)").arg(cmd)); and then operate on the `KService` desktop file name, e.g. `org.gnome.evince` instead of the executable. REPOSITORY R161 KActivity Manager Service REVISION DETAIL https://phabricator.kde.org/D23112 To: meven, #frameworks, ivan Cc: broulik, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart