SUMMARY Some application like kate, dolphin, chrome display actions and some also the recent documents when right-clicking on the corresponding icon on the task manager. Okular shows nothing. It would be nice to have okular shown the recent documents as well. I am not sure this is a bug of okular or of the task manager. STEPS TO REPRODUCE 1. Right click on the okular icon on icon-only task manager OBSERVED RESULT Recent documents not shown EXPECTED RESULT Recent documents shown SOFTWARE VERSIONS (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Operating System: Manjaro Linux KDE Plasma Version: 5.14.2 Qt Version: 5.11.2 KDE Frameworks Version: 5.51.0
Hmm, works for me with an IOTM and that exact same version of Okular on Manjaro. Same version of everything, in fact. Can you provide a screenshot or screen recording? Are you sure it's a pinned task manager entry and not an accidentally-added standalone widget launcher?
So after further testing I can better describe the problem: In Okular: - Open a document using File > Open... add the document to the recent list of the pinned entry on the taskbar - Open a document using File > Recent... does not add it - Open a document clicking on it in dolphin does not add it In Kate - Open a document using File > Open... add the document to the recent list of the pinned entry on the taskbar - Open a document using File > Recent... does not add it - Open a document clicking on it in dolphin add it sometimes See screen recordings attached. It is not clear to me how the recent file list in the pinned task bar entry is created given that it matches neither the application recent document list (e.g. okular) nor the KMenu history list. Is it a duty of the single application to build this list or is it the task bar that reads the recent list of the different applications from file to build it. In this case which files does it read?
I don't see the screen recordings. :))
Created attachment 116162 [details] Kate
Created attachment 116163 [details] Okular
As usually I forgot to add the attachments. Here they are now. In the kate video I was not able to show that opening the document from dolphin sometimes does not add it to the recent documents. It happened in the video I recorded before but that is too large to attach it here. Maybe I did not close all the sessions of kate in other activities and the recent documents were not updated. I'll test that case further if necessary.
On my system pinned icon of okular only shows recent files open through file open dialog. Pinned icon of Kate never lists recent files. Teted with icon-only task manager. Operating System: Arch Linux KDE Plasma Version: 5.15.1 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.1
The documents opened by clicking on them in dolphin are now added to the "Recent documents" in the task manager. Opening them from "Open Recent" inside Okular still does not make them appear in "Recent documents" in the task manager. The behavior of Okular is not the same as that of Kate.
I have the same behavior: > Opening them from "Open Recent" inside Okular still does > not make them appear in "Recent documents" in the task manager. SOFTWARE VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.16.5 KDE Frameworks Version: 5.62.0 Qt Version: 5.13.1
Yeah that's because the documents that show up in the "open recent" menu within the app come from a different data source. We are intending to unify these soon such that everything uses the same backend. Sounds like the original bug is now fixed so I'm closing this. Unifying the backend data sources is tracked by Bug 410395.