Bug 500829 - Trash doesnt show all the delettions in dolphin
Summary: Trash doesnt show all the delettions in dolphin
Status: REOPENED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (show other bugs)
Version: 6.12.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 18:34 UTC by doctorx
Modified: 2025-03-25 10:08 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description doctorx 2025-02-27 18:34:05 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Trash is not showing all the file/dir deleted all other mount points.  Running zfs for filesystem.

STEPS TO REPRODUCE
1.  go to each mountpoint.
2. touch file
3. delete file
4. look in dolphin for deleted file
5. right clicking on trashcan and configure trash
6. none of the other mountpoints are listed and no way to add them.

OBSERVED RESULT

Looking in dolphin trash, the deleted test file does not show up unless it is in /home.  using trash-cli, gtrash, and pcmanfm, I see the test deleted files on each mountpoint as expected.  There is no way to manually add the other mountpoint to trash.  


EXPECTED RESULT

Clicking on trashcan in dolphin should have the files that i deleted on each mountpoint.  It should agree with trash-cli, etc.

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.12-2-MANJARO (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 125.7 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT 50th AnniversaryLinux/KDE Plasma:  

ADDITIONAL INFORMATION
Comment 1 doctorx 2025-03-03 17:41:12 UTC
additional info:
i watched journal log and this error keeps popping up during a delete to trash.  I dont know if it is related or not:


3/3/25 11:39 AM	user@1000.service	*** Unsupported operation detected on trash directory
3/3/25 11:39 AM	user@1000.service	  dir: /home/doctorx/.local/share/Trash/files, file: 99900, type: 4
Comment 2 doctorx 2025-03-06 01:19:57 UTC
just got updated to plasma 6.3.2.  Initial testing is the problem may be gone.  I will update this ticket after through testing.
Comment 3 doctorx 2025-03-06 01:26:59 UTC
Apparently fixed with Plasma 6.3.2 update.  kio version: 6.11.0-1
Comment 4 Hammerhand 2025-03-12 15:30:59 UTC
I'm on latest  Plasma 6.3.2 update & kio 6.11.0-1 and still suffering this bug but only on one of my disks; I had to format it and now it always send files to main disk trash (~/.local/share/Trash) instead of to the own disk trash (created it and gave permissions 700). All of my disks are mounted the same way, through fstab, but in dolphin - properties all of them gives info about filesystem and mount point except for the one whose trash bin doesn't work.
Comment 5 Hammerhand 2025-03-12 15:39:30 UTC
(In reply to Hammerhand from comment #4)
> I'm on latest  Plasma 6.3.2 update & kio 6.11.0-1 and still suffering this
> bug but only on one of my disks; I had to format it and now it always send
> files to main disk trash (~/.local/share/Trash) instead of to the own disk
> trash (created it and gave permissions 700). All of my disks are mounted the
> same way, through fstab, but in dolphin - properties all of them gives info
> about filesystem and mount point except for the one whose trash bin doesn't
> work.
If I do:
╰─λ QT_LOGGING_RULES="kf.kio.workers.file.debug=true" dolphin
This is the message I receive when I send a file (PROBANDO.mp4) to trash:
kf.kio.workers.file: copy() QUrl("file:///run/media/Grandón/Descargas/PROBANDO.mp4") to QUrl("file:///home/manuel/.local/share/Trash/files/PROBANDO.mp4") mode= 484

As you can see, it sends it to the main disk.
Comment 6 doctorx 2025-03-17 15:33:11 UTC
(In reply to doctorx from comment #3)
> Apparently fixed with Plasma 6.3.2 update.  kio version: 6.11.0-1

This was premature.... the problem is back.