Summary: | Only 30 recent files are shown | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Thomas Bertels <tbertels> |
Component: | view-engine: general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kdedev, kfm-devel, meven |
Priority: | NOR | ||
Version First Reported In: | 25.04.1 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thomas Bertels
2025-06-03 19:20:17 UTC
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. |