Package: kdebase-workspace Version: 4:4.1.0-1 Severity: normal Tags: patch Steps to reproduce: 1) Have an empty trash 2) delete something from dolphin 3) go to trash in dolphin 4) click to empty trash from the trash plasmoid. You will notice that the trash plasmoid still says that there are items in trash and dolphin still shows those items. If you press f5 to reload dolphin, the items will disappear but the trash plasmoid will remain like this forever.
The problem relies in the fact that dolphin calls directly ktrash to empty the trash and ktrash in turn uses dbus to notify other processes about the changes. However, in debian, ktrash from kde4 is renamed to ktrash4 and as a result, the kde3 version of ktrash is called. This sends the signal over dcop and kde4 processes never get informed. This patch should solve the issue: ====================== diff -uprN kdebase-workspace-4.1.0/plasma/applets/trash/trash.cpp kdebase-workspace-4.1.0-fixed/plasma/applets/trash/trash.cpp --- kdebase-workspace-4.1.0/plasma/applets/trash/trash.cpp 2008-07-15 22:48:49.000000000 +0300 +++ kdebase-workspace-4.1.0-fixed/plasma/applets/trash/trash.cpp 2008-08-09 14:38:12.000000000 +0300 @@ -193,7 +193,7 @@ void Trash::slotEmpty() // we can simply call ktrash. //KonqOperations::emptyTrash(&m_menu); KProcess process; - process << KStandardDirs::findExe("ktrash") << "--empty"; + process << KStandardDirs::findExe("ktrash4") << "--empty"; process.execute(); } ====================== -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-gkserver-amd64 (SMP w/3 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kdebase-workspace depends on: ii kde-window-manager 4:4.1.0-1 the KDE 4 window manager (KWin) ii kdebase-workspace-bin 4:4.1.0-1 core binaries for the KDE 4 base w ii klipper 4:4.1.0-1 clipboard utility for KDE 4 ii ksysguard 4:4.1.0-1 System Guard for KDE 4 ii systemsettings 4:4.1.0-1 KDE 4 System Settings Versions of packages kdebase-workspace recommends: ii kdebase-plasma 4:4.1.0-1 plasma widgets from the KDE 4 base ii kdm 4:4.1.0-1 KDE Display Manager for X11 kdebase-workspace suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]