`Recent folders` confuses me

`Recent folders` in KDE’s file dialog either does not work properly or I do not understand how to make proper use of it.

Using Okular, I often save PDF files (scientific articles downloaded from the internet) with a new name to a specific topic folder.

The file subsequently shows up under “Recent files” with its new name all right.

However, the folder that I saved it to does not appear under “Recent folders”.

Would there be a way that I could make this happen anyway? It would save me a lot of time navigating my folder tree…

3 Likes

perhaps i’m just thick, but i’m not sure what part of KDE you are talking about when you say “KDE’s file dialog”.

are you talking about the application menu/launcher?

are you talking about Recent Locations in dolphin?

are you talking about the File Open dialog window in okular or some other app?

maybe a screenshot would help.

My apologies for not being clear! I was talking about the “Save as” and “File open” dialogs:

Here’s the “Save as” dialog that Okular shows to me. I’ve highlighted one recently saved file that properly appears under “Recent files” as expected:

This file lives in a folder called “CKD awareness and screening”:

However, this folder (which is just one that I happened to save a ton of files to recently) does not appear under “Recent locations” and I have to navigate my way all the way down to it when trying to save additional files.

There’s a folder “CKD” (which is the parent folder of my target folder) and “CKD guidelines” (which is a sibling), but not “CKD screening and awareness”.

The behavior is the same with the “Open document” dialog as well as in Dolphin. The file appears under “Recent…”, but the folder does not.

I’d like to be able to click on “Recent folders” and then on the recently used folder, but somehow that’s not what it does on my system.

Thanks.


Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland

I have the same issue as well, did you manage to find a solution?
The recent folders are stored correctly under
sqlite3 ~/.local/share/kactivitymanagerd/resources/database “SELECT * FROM ResourceEvent ORDER BY rowid DESC LIMIT 10;”

but they do not appear under
recentlyused:/locations/

While I haven’t found a solution yet, I have observed the following behavior.

When I navigated to “Photos” and “Downloads” in Dolphin and then issued your `sqlite` statement in the terminal, both folders appeared in the output.

I then navigated to `recentlyused:/locations/` in Dolphin, and both folders appeared as it should be!

However, when I opened a different folder, that one did not appear as a recently used location.

Pressing F5 then did the trick, the folder appeared. Apparently, when you just click on the “Recent Locations” item in the side panel, the contents of this list are not being updated and it is necessary to manually reload the list.

OK, thank you, I confirm and this is actually very helpful!