https://bugs.kde.org/show_bug.cgi?id=515247

            Bug ID: 515247
           Summary: Can't open video files from the Trash folder in
                    Dolphin
    Classification: Applications
           Product: dolphin
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 189021
  --> https://bugs.kde.org/attachment.cgi?id=189021&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to