Bug 515247 - Can't open video files from the Trash folder in Dolphin
Summary: Can't open video files from the Trash folder in Dolphin
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-29 09:57 UTC by Sergey Katunin
Modified: 2026-01-29 09:57 UTC (History)
1 user (show)

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


Attachments
Video showing the problem with opening a video file from Trash folder (3.66 MB, video/webm)
2026-01-29 09:57 UTC, Sergey Katunin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Katunin 2026-01-29 09:57:51 UTC
Created attachment 189021 [details]
Video showing the problem with opening a video file from Trash folder

SUMMARY

There is a problem with opening video files when double-clicking on a file from the Trash folder in Dolphin. It was tested on video players: Haruna, VLC, SMPlayer. 

They receive a symlink like: `file:///run/user/1000/kio-fuse-XjICas/trash/0-test.mp4`, which they cannot open because this symlink points to:

`/run/user/1000/kio-fuse-XjICas/trash/home/user/.local/share/Trash/files/test.mp4`, 

and this link contain an extra prefix `/run/user/1000/kio-fuse-XjICas/trash' in the path.

At the same time, if I manually drag a file from the Trash into the video player window, it receives an URL like: `/home/user/.local/share/Trash/files/test.mp4`, and now, the file is played.

The problem is probably quite old, as I reproduce this behavior even on Dolphin 23.08.5 + Plasma 5.27.11 + Frameworks 5.116.0.

It is not clear now whether the problem is in Dolphin or in KIO.

But I think, when we double-click file in Dolphin, it should transfer the local URL to a file like `/home/user/.local/share/Trash/files/test.mp4` to the player, instead of the URL to the KIO folder with a non-working symlink, in the same way as if we drag the file into the video player window.

Or, the symlink itself should be working, without an extra prefix.

STEPS TO REPRODUCE

1. Delete video file to the Trash folder.

2. Open Trash folder and double-click on video file.

OBSERVED RESULT

The video file should be playing.

EXPECTED RESULT

The video file is not playing.

SOFTWARE/OS VERSIONS

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.14.0-37-generic (64-bit)
Graphics Platform: Wayland