Version: (using KDE 4.0.98) Installed from: Ubuntu Packages OS: Linux The trash plasmoid included with KDE 4.1 RC1 doesn't update when emptied. For example, if I add the Trash plasmoid to my desktop and I have 7 files in my trash folder, it will show a full icon and show "Trash 7 items". When I click on the green arrow and choose "Empty trashcan" the trash is emptied, but on the desktop it still shows the full trash icon and still displays "Trash 7 items". After emptying it, if I click on it, Dolphin opens the trash folder and shows the files that I had already deleted, it isn't until I press F5 that Dolphin realizes that it's emptied and clears the files, but the Trash widget still shows the full icon.
Also, if I run these two commands: kquitapp plasma plasma The trash icon on the desktop is updated. So if I empty the trash and there is one item in it, I have to run the above two commands to get the plasmoid to realize that the trash is empty.
(KDE 4.0.99 (4.1RC1+) in ArchLinux) I can't reproduce this bug. The trash can icon is updated when I select "Empty trashcan" in the plasmoid menu
For me, the icon on the desktop updates if I open the trash folder in Dolphin and delete the files, but if I rightclick or left click the green arrow and select empty trash it still says I have trash in the trash can. Darío Andrés wrote: [bugs.kde.org quoted mail]
Did you try with the 4.0.99 release ? That's weird. I have reported another bug related to Trash (within Dolphin and Trash plasmoid) in https://bugs.kde.org/show_bug.cgi?id=167388 . Can you reproduce it ? (althought it is not directly related)
I am using RC1 provided by Kubuntu. As far as the other bug I cannot reproduce it because due to my bug I don't get far enough to get to yours. Darío Andrés wrote: [bugs.kde.org quoted mail]
This bug still occurs in the final version of KDE 4.1.
*** Bug 167802 has been marked as a duplicate of this bug. ***
this *really* sounds like file watching isn't working for you (for whatever reason). this works well and reliably here, but it does rely on directory watches working. try this: * open a dolphin or a konqueror window * navigate to a folder with a file that you can delete in it * start the terminal view (or just open a konsole/xterm to the same directory) * rm a file in the terminal * see if the file view updates in dolphin/konqueror
It does update. In fact, if I open the trash in Dolphin and empty it, both Dolphin and the trash icon get updated. This problem happens ONLY if I delete a file and then empty the trash from the trash icon context menu, then it still says there are things in the trash even when there are not. Aaron J.Seigo wrote: [bugs.kde.org quoted mail]
Mine does EXACTLY the same as Jeremy described. (In reply to comment #9) > It does update. In fact, if I open the trash in Dolphin and empty it, > both Dolphin and the trash icon get updated. > > This problem happens ONLY if I delete a file and then empty the trash > from the trash icon context menu, then it still says there are things in > the trash even when there are not. > > Aaron J.Seigo wrote: > [bugs.kde.org quoted mail] >
Still a problem in KDE 4.1.1.
same here with KDE 4.1.1 and 4.1: Emptying trash with context menu is not reflected in text and icon. Going to trash and deleting files with dolphin updates trash icon and text.
They released an update today or yesterday in Ubuntu Intrepid and now this is working. If others that have subscribed to this no longer have this problem, I will close this bug. Perhaps this was a problem with the distribution? Can anyone that's using something other than Ubuntu confirm it's working?
with libplasma 4:4.1.1-0ubuntu1~hardy1~ppa1 under Ubuntu 8.04.1 the situation has not changed
Agreed with Fritz, it's still a problem with 4.1.1 on Ubuntu 8.04
*** This bug has been marked as a duplicate of bug 168733 ***
This bug is specific to debian and (k)ubuntu 8.04. In debian, the reason is that they rename the "ktrash" executable to "ktrash4" to allow both kde3 and kde4 versions of ktrash in /usr/bin and the trash plasmoid calls this executable directly by the name "ktrash", which hits the kde3 version. The kde3 version then sends a signal over dcop to notify other processes about the change, but the trash applet expects this signal on dbus to update its label. On the other hand, kubuntu's unofficial kde 4.1 packages do not include ktrash at all! So, if the trash plasmoid emties the trash successfully, it probably uses the kde3 version of ktrash to do it... Ubuntu has fixed this in 8.10 (by not shiping kde3) and debian in recent releases of kde4 (by patching the applet to call ktrash4). See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494427 https://bugs.launchpad.net/ubuntu/+bug/264525