Version: 1.68.0 (using KDE 4.3.2) OS: Linux Installed from: Ubuntu Packages The file size shown in the list of selected files is ways to high if the file is a symbolic link and "follow symbolic links" is selected in the preferences. Example: a 35MB file is shown as a 140.2 GiB (!) file if it is not added directly but via a symbolic link.
Hi, thanks for the report. It's strange indeed, unfortunately I cannot reproduce it. Could you provide more info on this? Does it happen on new data project or on imported session? Does a type of file the link is pointing to make any difference?
Hi Michał, Thanks for asking. I just noticed the problem: The link i was using was a dead link, which i was not aware of. So here is how to reproduce: $ ln -s /tmp/does_not_exist /tmp/bad_link k3b: "New Data Project" k3b: go to the project properties, tab "Filesystem", select "Symbolic Links" -> "Follow symlinks", Close k3b: navigate to /tmp and add "bad_link" by mouse click I agree, that this far away from normal use, well but it happend to me and it confused me. ;-)
Yes, now I can reproduce it. Well, it is a corner case but it is also certainly a bug :) Good catch.
SVN commit 1046059 by mmalek: * Show size 0 for broken symlinks instead of some insanely huge number (data projects, "follow symbolic links" option enabled) * Moved duplicated code from both constructors to the separate function init() BUG: 212609 M +94 -90 k3bfileitem.cpp M +11 -4 k3bfileitem.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1046059