Created attachment 148013 [details] Fodler size shows number of files and folders in 7Z archive Trying to see which directories take up the most space inside an archive, is impossible with Ark because it only shows the number of folders and files in the folder. IIRC, File Roller was able to show directory size.
I'm going to look at this
Git commit 3981425a61c544a99ad7ab0c7228464e6430eb08 by Andrey Butirsky. Committed on 22/04/2022 at 09:45. Pushed by butirsky into branch 'master'. Calculate total directory size M +9 -12 part/archivemodel.cpp M +1 -2 part/archivemodel.h M +1 -1 part/infopanel.cpp M +13 -7 part/part.cpp https://invent.kde.org/utilities/ark/commit/3981425a61c544a99ad7ab0c7228464e6430eb08
Ragnar, could you follow up on your comment here? https://invent.kde.org/utilities/ark/-/blob/master/part/archivemodel.cpp#L822: > When ArchiveModel has been properly fixed, this code can likely be removed.
Please note the sizes calculation in the patch is synchronous. If anyone had opportunity to test it on really big archives to estimate performance penalty, that would be helpful.