applets/kicker: Highlight newly installed apps

Original commit message(s)

  • applets/kicker: Highlight newly installed apps

This tracks installed apps in kickerstaterc and keeps them highlighted in the menu until launched for a maximum of 3 days. The "All Apps" category doesn't highlight since the idea of this feature is to teach the user where to find the app.

A timer checks for expired highlights every 24 ours. The model updates could surely be optimized but they're rare, so the added complexity isn't worth it imho.

  • applets/kicker: Allow specifying roles in entryChanged

Allows to reduce needless view updates.

Reason for the change

It’s a handy feature to have. We used to have it in late KDE 4 times but here it was a dedicated “

Test plan

  • Started kickoff, no apps were highlighted, all apps were considered old

  • Installed an app, got a highlight in the Kickoff sidebar and the list but not the “all apps” entry

  • Launched the app, highlight got removed everywhere

  • Installed an app, got a highlight in Kickoff sidebar, waited some time (didn’t wait 3 days lol, I faked it) and highlight got removed

  • Installed an app, uninstalled it again, was nowhere to be found in the config

When creating a new application manually in KMenuEdit it will also be considered newly installed. We might want to have kmenuedit explicitly write into kickerstaterc to make it known?

Screenshots or screen recordings

See plasma-desktop!2955 (merged)

Bugs fixed

CCBUG: 481426

It’s only the necessary plumbing.

Edited by Ilya Bizyaev

Merge request reports

Loading