Summary: | doesn't need the + sign in treeview if directory is empty | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Bimal Rekhadiya <bimaljr> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | audvare, faure, markg85 |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.8.1 | |
Sentry Crash Report: |
Description
Bimal Rekhadiya
2008-09-14 10:09:10 UTC
I think this may be a problem with ntfs-3g, and maybe other file systems like vfat. The other issue is that in the directory tree EVERY folder on an ntfs-3g partition has a + expansion button even if no directories are inside that level directory. I can confirm that this problem does not occur with ext3. Only my ntfs-3g partition does this where I have to refresh a lot and the aforementioned problem above. Nope, happens here on ext3 too. We're talking about the dolphin directory tree, not about the konqueror directory tree (which indeed uses the number of links to the directory inode, iirc, so that code is pretty specific to real unix filesystems). Maybe we could use KDirModel::ChildCountRole for this... not sure if this should be done in KDirModel or dolphin's filter though. Probably the latter, since kdirmodel can't know that only subdirs are shown. Confirmed for 4.5.1 and trunk as well. Empty folders have a nice "expand" sign in front of them. Any suggestions on fixing this? Remember, an empty folder doesn't need to be empty.. for example it can have hidden files and that folder should show as empty when "show hidden files" is disabled... |