Bug 369185

Summary: Add recent documents to icon widget context menu like task manager has
Product: [Plasma] plasmashell Reporter: stu109382
Component: IconAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde, simon.pfeifer
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=396539
https://bugs.kde.org/show_bug.cgi?id=390817
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Compare symbol and launcher

Description stu109382 2016-09-22 08:56:54 UTC
If I understand correct, the intented difference between a launcher and other app symbols is that a launcher goes away when the app is running. This makes sense because the app is already launched.
However, what bothers me is
  1. launchers are much smaller than the other symbols
  2. jump lists (e.g. for recent files) only work with launchers (at least in most cases).
Because of 2 the user can't open another recently used file when the app is already running. This is not possible using jump lists on launchers because the launcher goes away when the app is running. For example I have this issue with Geany.

I think launchers (add as launcher) and other symbols (add to panel) should be equivalent with the only difference beeing that a launcher goes away when the app is running. And this could be a simple checkbox in the symbol settings (something like a "single-instance mode" for symbols)

At the moment the behaviour is also inconsistent. The Firefox and Thunderbird symbols do have jump lists, just as their launchers do. But most of the other symbols do not have jump lists (e.g. to recent files).

Reproducible: Always

Steps to Reproduce:
1. Create launcher and symbol for same app (e.g. Geany)
2. See that the launcher is much smaller
2. Right click on launcher and afterwards on symbol to open jump lists
3. See that jump lists do only work with launchers

Actual Results:  
Symbols and launchers behave differently

Expected Results:  
Symbols and launchers behave the same
Comment 1 Kai Uwe Broulik 2016-09-22 09:08:03 UTC
Jump Lists and Recent Documents are two distinct features.
So this bug report is actually a wishlist item to add "Recent Documents" to icon widget?
Comment 2 stu109382 2016-09-22 09:16:35 UTC
Created attachment 101224 [details]
Compare symbol and launcher

As you can see in the video, the Thunderbird symbol and launcher both have jump lists.
But the Geany launcher and symbol differ. Only the launcher has recently used files. I can not open more than one recently used file this way, because the launcher goes away when the app is running.

Plus the launchers are much small, which I don't like.
Comment 3 stu109382 2016-09-22 09:17:39 UTC
(In reply to Kai Uwe Broulik from comment #1)
> Jump Lists and Recent Documents are two distinct features.
> So this bug report is actually a wishlist item to add "Recent Documents" to
> icon widget?

Yes. I thought it was the same feature.
Comment 4 stu109382 2016-09-22 09:20:26 UTC
(In reply to stu109382 from comment #0)
> I think launchers (add as launcher) and other symbols (add to panel) should
> be equivalent with the only difference beeing that a launcher goes away when
> the app is running. And this could be a simple checkbox in the symbol
> settings (something like a "single-instance mode" for symbols)

I think this is also related to Bug 368549
Comment 5 stu109382 2016-10-17 11:43:05 UTC
It would also be great to have jumps lists for dolphin, i.e., showing the recent folders in which I browsed. I think it would make sense to add to this folders list when closing dolphin, so that I can directly open the folder again using the jump list.
Comment 6 stu109382 2018-10-08 10:19:14 UTC
This issue can be closed. My original request was implemented.
When I pin Dolphin to the window bar it shows recent folders.

My only issue is that these folders are not exactly what I would expect (not the folders, where I closed dolphin). Further I would love to see this feature used for other applications as well. For instance recent folders for Caja file manager, recent pages for firefox, etc. I am not sure how this could be implemented.
Anyway, these are topics for other tickets entirely.