In KDirectoryContentsCounterWorker::subItemsCount, the first parameter in the call of walkDir is QFile::encodeName(path), but it should be path without any conversion. The call of encodeName(path) is done in walkDir.
Good catch! Would you like to submit a merge request to fix it? You can do so here: https://invent.kde.org/system/dolphin/-/merge_requests/ And here's the documentation: https://community.kde.org/Infrastructure/GitLab
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/87
(In reply to Nate Graham from comment #1) > Good catch! Would you like to submit a merge request to fix it? You can do > so here: https://invent.kde.org/system/dolphin/-/merge_requests/ > > And here's the documentation: https://community.kde.org/Infrastructure/GitLab Done! I hope, I did it correctly, the whole procedure is a little bit awkward.
Lothar / Nate is this now fixed. The MR was merged.
Yup, thanks for following up.