Version: 4.1 Beta 1 (using Devel) Installed from: Compiled sources After selecting "Empty Trash" from the RMB menu of the Trash icon in the Dolphin sidebar and affirming in the confirmation dialog, the Trash icon still shows a full Trash can. In fact, when I go to the trash folder, there are still icons of the items I have just deleted. Pressing F5 updates both the folder content and the icon. Maybe a call to some update()-function is missing after the confirmation dialog?
SVN commit 817981 by ppenz: inform observers if the trash has been emptied, so that e. g. an icon update can be done or the trash directory is refreshed BUG: 163337 CCBUG: 159366 CCMAIL: ervin@kde.org M +14 -1 kfileplacesview.cpp M +1 -0 kfileplacesview.h WebSVN link: http://websvn.kde.org/?view=rev&revision=817981
Thanks! :)
I am using KDE 4.1 RC1 and I still have this problem. I have the Trash plasmoid on my desktop, and when I rightclick it to empty the trash, the icon doesn't change. In fact, I just emptied the trash (I had 7 items to delete) and on my desktop it still says "Trash 7 items". If I click on it and open Trash in Dolphin, it shows my files are deleted after I press F5 but the desktop icon and kicker icon both show the trash is full until my next login.
@Jeremy: The desktop and the trash plasmoid is in the responsibility of Plasma. Within Dolphin I could only fix the Dolphin related part and like Dolphin those Plasma components also have to take care listening to a changed trash content. It would be great if you could open a separate bug-report for Plasma. In this case please check whether such a bug has already been reported. Thanks!