Review Request: Fix KIO::directorySizeJob returns wrong file count in some situtaions.

Ingo Klöcker kloecker at kde.org
Mon Mar 30 21:27:12 BST 2009


On Monday 30 March 2009, David Faure wrote:
> On Monday 30 March 2009, Hans Meine wrote:
> > On Montag 30 März 2009, Andreas Pakulat wrote:
> > > Regarding the second part, I disagree with your opinion. IMHO
> > > "subfolder" can also be read as "subfolder of the folder you're
> > > currently viewing" - which is what I'm interpreting that word as.
> > > So maybe we don't need to fix the number that it shows, but I
> > > think the text itself needs improvement.
> >
> > How about "%1 files and %2 folders with %3 subfolders"?
>
> A bit confusing, since the files are (can be) also inside the
> folders. If you select 1 file and 1 folder, and that folder has 1
> subfolder with 1 file in it, we could say - "2 folders and 2 files"
> (undiscriminated count; confusing with just 1 folder selected imho) -
> "2 files and 1 folder with 1 subfolder" (your suggestion, which I
> find confusing) - "2 files, 1 subfolder" (current code)
> It sucks a bit in all cases :-)
>
> Well, to be more precise, the dialog has a different field for the
> selected items already, it says "1 Folder, 1 File" at the top
> already. What we're talking about here is the "Size" field, which has
> the total size in bytes, folders and files, of the selection.

This discussion proves my point, that this should be discussed on the 
usability mailing list.

FWIW, I'd change "Size:" to "Summary:", scrap the "sub-" 
from "sub-folders" and count all files and folders.


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090330/22068dd9/attachment.sig>


More information about the kde-core-devel mailing list