libjumplist
Open, Needs TriagePublic

Description

I want to make a small lib in p-w (probably not "public api", ie use by our plasmoids only or something) for jump list actions (actions, Places for Dolphin, recent docs, etc)
since right now there are four(!) different implementations all lacking some features over the other (icon applet being the worst, task manager, kicker/kickoff, quick launch applet).
This would also make it easier to add new stuff if we e.g. add an API for apps to use (e.g. Kate sessions, perhaps Sytem settings most used modules right there in the menu etc)

Related Objects

StatusAssignedTask
Resolvedngraham
Openbroulik
jriddell created this task.Feb 19 2019, 1:14 PM
jriddell added a parent task: T10488: Plasma 5.16.

For calling jump list actions I assume?

I want to stress that it should support the DBus activation version if applicable.

It sounds like something that belongs in frameworks, I don't think it needs to be a separate workspace lib.

Something like:
KRun::runService(serviceFile, actionName, args, window)

This lib is mostly about a unified way for an applet to say "gimme a list of recent docs for this launcher" and "gimme jump list actions for this app".

Right now e.g. Task Manager backend has 250 lines of code for jump list actions (with special cases for certain apps like Dolphin to show Places instead), Icon applet has like 50 but lacks half the features of Taks Manager, and so on.

Your idea is a welcome addition because right now KRun just runs the Exec line verbatim with no idea of what service it came from. Technically it's separate from this future lib, however.

"something I'd like to see but unlikely to happen for 5.18"