Bug 168733

Summary: Trash-icon on desktop empty, but trash in dolphin not
Product: [Unmaintained] plasma4 Reporter: Stefan Neufeind <kde>
Component: widget-trashcanAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aseigo, david.linguist, jay, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefan Neufeind 2008-08-08 13:33:51 UTC
Version:            (using KDE 4.1.0)
Installed from:    Fedora RPMs

howto:
- had an empty trash
- deleted files (to trash) in krusader

effect:
- status of icon on desktop not updated (still shows trash as empty, doesn't give option "empty trash")
- opening trash in dolphin however shows there are files and alles to empty it
Comment 1 George Kiagiadakis 2008-08-09 13:22:08 UTC
Do you use the KDE4 version of krusader? Because I noticed that trash uses dbus to notify other processes about trash changes, however, krusader from kde3 will use dcop and other processes won't get notified.
Comment 2 Stefan Neufeind 2008-08-09 15:19:23 UTC
krusader-1.90.0-2.fc9.x86_64 (current version from Fedora)

And if I interpret the about-screen right that's still KDE 3.59?

Okay, sorry for the noise then. Krusader 2.00 is still beta and I guess because of that not yet shipped by Fedora.
Comment 3 Sergei Andreev 2008-08-09 20:05:25 UTC
Confirming the bug
And I need to reopen dolphin to work with files in trashcan.
Comment 4 Aaron J. Seigo 2008-11-20 07:42:51 UTC
*** Bug 167738 has been marked as a duplicate of this bug. ***
Comment 5 Aaron J. Seigo 2008-11-20 07:42:56 UTC
*** Bug 166799 has been marked as a duplicate of this bug. ***
Comment 6 George Kiagiadakis 2008-11-20 14:05:13 UTC
Some more info on this:

1) bug 166799 is downstream, see my comment there for the reason.

2) This bug is expected as krusader 1.90.0 links to the kde3 libraries, which send a dcop signal when the trash is changed to inform other processes, but the trash applet (obviously) doesn't catch it because it doesn't use dcop :)

3) About bug 167738, I could reproduce it some time ago but I can't anymore. Neither in debian nor in kubuntu 8.04. No idea what could cause it and I am not sure it is a duplicate of this bug....
Comment 7 Aaron J. Seigo 2008-11-20 16:58:30 UTC
all three bugs have their root in the trash:/ protocol not updating reliably. using IPC to signal changes in the trash folder is highly suspect and if that is indeed what's going on needs to be investigated and the IPC mechanism replaced with something more reliable like a simple filesystem watch.

i haven't had a chance to look into trash:/ or speak with Faure about it yet, however.
Comment 8 Aaron J. Seigo 2008-12-17 02:35:10 UTC
ok, so everything seems to be in working order as much as it can be at this point.