The number of files shown in the properties dialog is not updated if we delete some entry from the currently open archive. Unfortunately, for the Archive class is not enough to just connect to the entryRemoved() signal in order to decrement the number of files. This won't work if we delete a folder, because we don't know its number of deleted children. Reproducible: Always
Git commit d78e151c7d5e2d4b7e8f514c6d488e237a1f14ec by Ragnar Thomsen. Committed on 10/07/2016 at 16:00. Pushed by rthomsen into branch 'master'. Add number of folders to PropertiesDialog and fix bugs The number of folders is now also shown in PropertiesDialog. There was a bug where number of files/folders and total uncompressed size didn't get updated after adding/deleting files from archive. This is now fixed by counting the files/folders and uncompressed size in ArchiveModel::countEntriesAndSize(). FIXED-IN: 16.08.0 Differential Revision: D2130 GUI: M +12 -3 kerfuffle/archive_kerfuffle.cpp M +3 -0 kerfuffle/archive_kerfuffle.h M +4 -3 kerfuffle/propertiesdialog.cpp M +1 -1 kerfuffle/propertiesdialog.h M +9 -9 kerfuffle/propertiesdialog.ui M +50 -0 part/archivemodel.cpp M +11 -0 part/archivemodel.h M +5 -1 part/part.cpp http://commits.kde.org/ark/d78e151c7d5e2d4b7e8f514c6d488e237a1f14ec