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/Snap specific behavior should be documented #1382

Open
xi opened this issue Jun 23, 2024 · 0 comments
Open

Flatpak/Snap specific behavior should be documented #1382

xi opened this issue Jun 23, 2024 · 0 comments
Labels

Comments

@xi
Copy link

xi commented Jun 23, 2024

Operating System

any

XDG Desktop Portal version

1.18

XDG Desktop Portal version (Other)

No response

Desktop Environment

GNOME

Desktop Environment (Other)

No response

Expected Behavior

Developers who use xdg-desptop-portal should be able know how it will behave. Specifically, the documentation should

  • note that there is code specific to Snap / Flatpak
  • explain the behavior that is specific to Flatpak
  • explain the behavior that is specific to Snap

It would be even better if none of this was necessary. In the long run, all mechanisms that are necessary for sandboxing should be standardized. Listing the missing bits and pieces in the documentation could be a first step towards standardisation.

Current Behavior

The website gives the impression that xdg-desktop-portal behaves the same for any desktop containment framework. Only when I read #680 (comment) did I learn that it contains code that is specific to Flatpak / Snap. When i looked at the code, I realized that this is not limited to the File Chooser portal but also affects many other places. I was not yet able to get a clear picture of how exactly xdg-desktop-portal is entangled with Flatpak / Snap.

Steps to Reproduce

Read the documentation, then try to use the File Chooser portal with a desktop containment framework other than Flatpak or Snap.

Anything else we should know?

Releated to #737

@xi xi added the bug label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant