Version: (using KDE 4.3.1) Installed from: Ubuntu Packages Users can configure dolphin in Icon Mode to show file sizes, in this configuration the program will show how many files are inside folders. Dolphin is erroneously showing some empty folders as containing one file.
The problem appears to be that a hidden file inside the directory is considered a file for purposes of calculating how many files are in each directory. I do not think that hidden files should be counted.
The hidden file inside the directory from the previous comment is the .directory file, this file is not created by the user and should not be part of the count. Alternatively, as Dolphin can be configured to remember to show or hide hidden files on a per-directory basis, hidden files should be counted only for subfolders that are configured to show them. Thus, a user will never see a discrepancy in the amount of files.
I only add that this option ("don't count hidden files") should be turned off by default for avoiding data loss.
> I only add that this option ("don't count hidden files") should > be turned off by default for avoiding data loss. I agree in general. But what about KDE's .directory files for establishing icons and such? Surely those should not be counted. I stress the comments from comment #2.
*** Bug 213453 has been marked as a duplicate of this bug. ***
Resetting assignee to default as per bug #305719
Steps to reproduce: 1. In a test folder, run: “mkdir folder; touch .file”. 2. Go to the test folder using Dolphin. 3. Enter “folder”, and show the hidden files (Alt+.). 4. Go back to “folder” (Alt+↑) and refresh (F5). Expected results: Items count is 1 (or 2 if you have per-directory settings and a “.directory” file was created in step 3). 5. Enter “folder”, and hide the hidden files (Alt+.). 6. Go back to “folder” (Alt+↑) and refresh (F5). Expected results: Items count is 0. I cannot reproduce this issue in Dolphin 2.1 (Chakra). That is, it works as described in my steps.
I cannot reproduce it either. (Dolphin 2.1 - KDE 4.9.2 - Arch Linux)
Indeed, it seems that Peter "fixed" this when he rewrote the view engine.