Bug 489918 - The paths of the files added to the playlist are not like the paths in the file manager
Summary: The paths of the files added to the playlist are not like the paths in the fi...
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 1.1.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 11:17 UTC by Nicola Jelmorini
Modified: 2024-07-28 08:56 UTC (History)
0 users

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 Nicola Jelmorini 2024-07-08 11:17:22 UTC
SUMMARY
Adding a file to the playlist, and copying the path, you can see that the path is different from the one of the file manager.
For example I add the file:
"/home/nicola/Video/Altri/La teoria delle stringhe.mp4"
and in Haruna the path is:
"file:///run/user/1000/doc/85bcc6f0/La teoria delle stringhe.mp4"

STEPS TO REPRODUCE
1. Click the button to add a file to the current playlist [+Add.. / File]
2. Choose a file and confirm → the file appears in the playlist
3. Right click the just added file and copy it's path
4. Watch in the clipboard history, or paste the path in a text editor to observe the result


OBSERVED RESULT
The path of the file is in the form "file:///run/user/1000/xxxx"

EXPECTED RESULT
The path of the file should be in the form ""/home/nicola/Video/xxxx"


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  KDE Neon 6.0 (based on Ubuntu 22.04)
KDE Plasma Version:  6.1.2
KDE Frameworks Version:  6.3.0
Qt Version:  6.7.0 on my system /  6.7.2 in the Haruna flatpak

ADDITIONAL INFORMATION
I suspect that this issue has something to do with the functionality of "Adding one file to add the entire folder to the playlist" that currently doesn't work.
Comment 1 george fb 2024-07-08 15:49:50 UTC
That's a flatpak thing. Have you changed any of Haruna's flatpak permissions?

You can reset the permissions with flatseal.
Comment 2 Nicola Jelmorini 2024-07-09 12:16:56 UTC
(In reply to george fb from comment #1)
> That's a flatpak thing. Have you changed any of Haruna's flatpak permissions?
> 
> You can reset the permissions with flatseal.

Hello,
thank you for your kind support. Indeed, tinkering ( :-) )  with flatseal has resolved the issue.
This bug report can be closed for me.