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

Flatpak "version" doesn't work properly ... #10

Open
thomsch98 opened this issue Oct 28, 2021 · 3 comments
Open

Flatpak "version" doesn't work properly ... #10

thomsch98 opened this issue Oct 28, 2021 · 3 comments

Comments

@thomsch98
Copy link

What Happened?

  1. Extracting a file to a location is NOT working on the real directory, but the flatpak "mounted" one. As the result, the files seem to be extracted, but don't show in "Files"
  2. Trying to open (double click) a file in an archive shows "No applications found for ..." (works with "Files")
  3. Show in files doesn't open "Files"

Steps to Reproduce

Extracting file(s)

  1. create a zip archive
  2. In Files, open zip with double click (Archive Manager aka FileRoller shows up)
  3. In Archive Manager use extract and select /tmp directory as the target
  4. Use Files (from applications) to open /tmp directory
  5. The extracted files are not listed in /tmp
  6. Trying to repeat the process with Archive Manager shows the previosly extracted files already in /tmp.

Open file in archive

  1. create a zip archive containing a json file
  2. In Files, open zip with double click (Archive Manager aka FileRoller shows up)
  3. In Archive Manager, double click json file
  4. Dialog with "No applications found for ..." pops up, no applications are shown in the "select application" list except Archive Manager and Help

** Show in files***

  1. create a zip archive
  2. In Files, open zip with double click (Archive Manager aka FileRoller shows up)
  3. In Archive Manager use extract and select /tmp directory as the target
  4. "Show in files" doesn't open Files

Expected Behavior

Restored functionality "before flatpak" (?).

  1. Extracted files show up in "Files" in the "real" filesystem

  2. Double click in Archive Manager opens a file for editing as it does in Files

  3. "Show in files" open Files and shows the extracted files

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@danirabbit
Copy link
Member

danirabbit commented Oct 28, 2021

Hey thanks for reporting these issues. In the future, please file separate reports for each issue you are encountering. As filed, it will be hard to track progress in solving this report since it covers multiple things.

  • The first issue is that FileRoller doesn't have access to the system /tmp folder, only to users' home. Since it uses a custom save file dialog and not the file chooser portal, this sandbox hole will need to be added

  • Another issue is that it doesn't look like FileRoller uses the OpenURI portal, which is why showing in Files and the AppChooser don't work as expected. It looks like there's an upstream pull request here that we could look at pulling in this patch: https://gitlab.gnome.org/GNOME/file-roller/-/merge_requests/55

@thomsch98
Copy link
Author

Next time, I'll do better! Sorry for the inconvenience :-)

@danirabbit
Copy link
Member

No worries! Like I said thanks for reporting :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants