Revision D10863 introduced a fix which makes the application storedDue to KRecentDocument::add() bug, application name '<app>' could
inbe stored for recent documents data match the application'instead of its desktop file. Thisentry name
made all workarounds with cutting 'org.kde.' prefix out of storage<app>'. This issue mostly affects items opened from apps
IDs irrelevant.
Howeverthemselves, while items opened from e.g. Dolphin are not affected.
(The bug is fixed by D10863, given that release schedules of Plasma Desktop and Frameworksbut we depend on Frameworks 5.42 which
are independent, we can't be sure that the Frameworks version we are
running on does contain the mentioned fixdoesn't include it.)
Kicker and taskmanager used to query for '<app>' agent only, so we need to support boththus
cases until we depend on the Frameworks version which doesexcluding items with correct 'org.kde.<app>' agent.
This commit makes kicker and taskmanager query for both <app> (pre-
D10863) and org.kde.'<app> (post-D10863) agents. As a bonus, this also' and
fixes a bug when items opened from e.g. Dolphin don't show up in recent'org.kde.<app>' agents in order to get all recent documents for the
documents in kicker's and taskmanager's application context menuson.