Created attachment 62742 [details] Empty suggested archive name - only the extension Version: 2.16 (using KDE 4.7.0) OS: Linux Version 2.17 When i select a folder to compress [Context Menu -> Compress -> Compress to...] Ark opens a dialog suggesting the name of the archive - only the extension, while it should be the name of the folder. Reproducible: Always Steps to Reproduce: If i select a folder named 'Test' to pack and call [Context Menu -> Compress -> Compress to...] Ark opens a dialog suggesting the name of the archive equal '.7z'. Expected Results: If i select a folder to pack and call [Context Menu -> Compress -> Compress to...] Ark should open a dialog suggesting the name of the archive equal to the name of the folder.
SVN commit 1246402 by rkcosta: Account for the case when the only selected file is a directory. So far we were only calling QFileInfo::baseName(), which returned an empty string for directories. BUG: 279862 FIXED-IN: 4.7.1 M +5 -2 adddialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1246402
SVN commit 1246403 by rkcosta: Account for the case when the only selected file is a directory. So far we were only calling QFileInfo::baseName(), which returned an empty string for directories. Forwardport of r1246402. CCBUG: 279862 M +5 -2 adddialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1246403