Expected behavior: Use dolphin, delete a file (to trash, not permanently) and the taskbar widget should appear instantly (i have set the trashcan-icon i system-tray settings to 'shown when relevant') Problem is, other applications, especially vscode, do also soft-delete (to trash). The vscode deleted files do land in the trash as can be easily verified with dolphin, but the trashcan-icon in the taskbar never appears in the current kde session. A simple logout/login fixes this (i assume trashcan then only checks for files being in trash) I would suggest to not only listen to dolphins 'i deleted a file to trash'-events, but to implement a loop constantly checking the trash-contents esp. for the trashcan icon --- Operating System: Fedora Linux 42 KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit) Graphics Platform: Wayland
So basically, an app manually moves something to ~/.local/share/Trash/files/, and then the trash doesn't notice, right? I can confirm that, and it's not limited to just the Trash widget, either; it affects all representations of the trash systemwide. We wouldn't want to poll for this, but we could perhaps install an inotify watch on the folder so that anything manually moved into there updates the status.