Bug 435356 - History fails to include some recently used apps
Summary: History fails to include some recently used apps
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (show other bugs)
Version: 5.21.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-04 19:30 UTC by medin
Modified: 2021-04-08 19:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
History fails to include some recently used apps (486.28 KB, image/png)
2021-04-04 19:30 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-04-04 19:30:27 UTC
Created attachment 137329 [details]
History fails to include some recently used apps

Some apps are never listed in recent history like Writer, Veracrypt, Thunderbird, SimpleScreenRecorder, Qualculate!,... See attached image for more info.

Operating System: Manjaro Linux
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.4.105-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Comment 1 Nate Graham 2021-04-06 00:32:29 UTC
1. How did you launch those apps that aren't appearing in the history?
2. Do they show up in the history after you quit the apps?
3. Do they show up in the history if you quit the apps and then restart plasmashell with `plasmashell --replace`?
Comment 2 medin 2021-04-06 09:56:00 UTC
(In reply to Nate Graham from comment #1)
> 1. How did you launch those apps that aren't appearing in the history?
> 2. Do they show up in the history after you quit the apps?
> 3. Do they show up in the history if you quit the apps and then restart
> plasmashell with `plasmashell --replace`?

1. I launched them from the new launcher (kickoff) favorites
2. No they are not added to history after exiting them
3. Even after running plasmashel --replace they are not added to history

And even after switching to another menu then switching back they don't appear in history.
Comment 3 medin 2021-04-06 10:02:41 UTC
I think I found the culprit, those apps are added to favorites by right click menu "Show In Favorites>On All Activites", and after removing them from favorites (unticking "On All Activites") they appear again in History. Even show "Show In Favorites>On The Current Activity" causes the same problem with History.
Comment 4 medin 2021-04-06 11:06:43 UTC
In fact, this is not specific to only Kickoff but exists in all other apps menus with History option like Kicker and Dashboard menu.
Comment 5 Nate Graham 2021-04-07 15:06:10 UTC
Interesting observations. I don't use activities, so that's probably why I didn't notice it. Moving to kactivitiymanagerd which I think is responsuble for this.
Comment 6 Ivan Čukić 2021-04-07 18:07:24 UTC
This is intentional extra-filtering done by Kicker, moving back to plasmashell and assigning to Eike.

applets/kicker/plugin/recentusagemodel.cpp:105
return (service && (!favoritesModel || !favoritesModel->isFavorite(service->storageId())));