Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get real path from FileChooser portal #788

Closed
JakobDev opened this issue May 5, 2022 · 2 comments
Closed

Get real path from FileChooser portal #788

JakobDev opened this issue May 5, 2022 · 2 comments

Comments

@JakobDev
Copy link
Contributor

JakobDev commented May 5, 2022

The file chooser Portal gives you currently access to a file/directory the user selects. The file can be accessed from inside the sandbox in the directory /run/user/(uid)/doc. The file access itself works great, but the path is the Problem. Many Apps display the Path e.g. in a recent files menu or showing the file the user is currently editing.

Showing the /run path is a very bad user experience. The thing remains from the real path is the file name. So the User gets in a recent files list a list of /run/random_stuff/filename. If you have multiple files with the same name in the list, it is very confusing. e.g. the file which contains the list for needed Python packages is named requirements.txt. If you work with multiple requirements.txt, you can't tell from looking at the list with 7run paths, which is which.

Another example would be a text editor, that shows the Path of the file that is open. If the User has the File some time open in the Background and get's back the work, it is hard to say which file he/she is currently editing.

@vchernin
Copy link

#475

@GeorgesStavracas
Copy link
Member

Duplicate of #475

@GeorgesStavracas GeorgesStavracas marked this as a duplicate of #475 Oct 5, 2023
@GeorgesStavracas GeorgesStavracas closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triaged
Development

No branches or pull requests

3 participants