SUMMARY Only 30 recently used files are shown in Dolphin's Recent files. STEPS TO REPRODUCE 1. Open 31 different files or more 2. Open recentlyused:/files/?limit=99999 in Dolphin OBSERVED RESULT Only 30 recently used files are shown EXPECTED RESULT Up to 99999 recently used files are shown SOFTWARE/OS VERSIONS KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 ADDITIONAL INFORMATION Search indexing is disabled. /home/[username]/.local/share/kactivitymanagerd/resources/database shows more 30 files when opened with DB Browser for SQLite.
I confirm this limitation on git-master that even with Settings - Recent Files Keep history: Forever For all applications This looks intentional, I'll let the Dolphin developers confirm. If it is, we could consider a setting to raise / configure the number shown in Dolphin
The limit is set to 30 in kio-extras when no limit value can be parsed: https://github.com/KDE/kio-extras/blob/7fadfd704993626647384bae2c3fa7d07b29ee34/recentlyused/recentlyused.cpp#L68 int queryLimit(QUrl url) { const auto urlQuery = QUrlQuery(url); // limit parameter if (urlQuery.hasQueryItem(QStringLiteral("limit"))) { const auto limitValue = urlQuery.queryItemValue(QStringLiteral("limit")); bool parseOk; const auto limitInt = limitValue.toInt(&parseOk); if (parseOk) { return limitInt; } } return 30; } queryLimit(QUrl url) is called in KIO::WorkerResult RecentlyUsed::listDir(const QUrl &url) https://github.com/KDE/kio-extras/blob/7fadfd704993626647384bae2c3fa7d07b29ee34/recentlyused/recentlyused.cpp#L217 and listDir may be called by ForwardingWorkerBase::listDir(QUrl::fromLocalFile(path)); https://github.com/KDE/kio-extras/blob/7fadfd704993626647384bae2c3fa7d07b29ee34/activities/KioActivities.cpp#L163 If that's case, QUrl::fromLocalFile(path) may be the culprit.
Using recentlyused:/files/?limit=100 should list 100 recent files. For some reason it didn't work on my system. But recentlyused:/files/?limit=10 works to reduce the number of results.
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/469
Git commit 77a52d57e1ed6d6e3b6e9f333b27e91d9d6a2078 by Méven Car. Committed on 27/09/2025 at 09:47. Pushed by meven into branch 'master'. recentlyused: take into account passed in limit argument The 30 default limit is set in queryLimit. M +1 -1 recentlyused/recentlyused.cpp https://invent.kde.org/network/kio-extras/-/commit/77a52d57e1ed6d6e3b6e9f333b27e91d9d6a2078
It does sound obvious now that you say it. Looking forward to get that fix!
A possibly relevant merge request was started @ https://invent.kde.org/network/kio-extras/-/merge_requests/471
Git commit c20c20d09826680727ceb81a9708149d76251d17 by Méven Car. Committed on 30/09/2025 at 12:42. Pushed by meven into branch 'release/25.08'. recentlyused: take into account passed in limit argument The 30 default limit is set in queryLimit. (cherry picked from commit 77a52d57e1ed6d6e3b6e9f333b27e91d9d6a2078) Co-authored-by: Méven Car <meven@kde.org> M +1 -1 recentlyused/recentlyused.cpp https://invent.kde.org/network/kio-extras/-/commit/c20c20d09826680727ceb81a9708149d76251d17
(In reply to Thomas Bertels from comment #6) > It does sound obvious now that you say it. > > Looking forward to get that fix! 25.08.2, Thursday, October 9 FYI Source: https://community.kde.org/Schedules/KDE_Gear_25.08_Schedule All our release schedule are known in advance, you can google "kde plasma releseae schedule" for instance.