-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
update the flatpak to only use wayland, x11-fallback #284
update the flatpak to only use wayland, x11-fallback #284
Comments
ProtonUp-Qt does already use Wayland by default if it is available (checked using Flatseal, and also verified with Where did you see the warning, exactly? I can't say I have seen this for ProtonUp-Qt or other applications. Just curious :-) |
It's nice to know. Thank you for checking. You can see the warning in flathub https://flathub.org/apps/net.davidotek.pupgui2 I didn't mean to close this. I just made a github account for this and I'm unfamiliar with the UI. |
reopen :S |
Ah, thanks, I didn't see this on Flathub. This is interesting to see, aside from the X11 warning (or "legacy windowing system"), I'm interested in:
Perhaps like with the X11 issue you brought up, this is just something ProtonUp-Qt has to mark? The runtime issue was reported in #283 and will be fixed in flathub/net.davidotek.pupgui2#22. The warning The remaining issues with file access are unavoidable really, as ProtonUp-Qt needs access specific files to accommodate game launchers. It also requires permissions to create some files like for SteamTinkerLaunch. You can see all the filesystem permissions here: https://github.com/flathub/net.davidotek.pupgui2/blob/master/net.davidotek.pupgui2.json#L12-L35 The reason I ask is that a "blanket PR" fixing up various Flatpak permissions in order to resolve as many of these warnings on Flathub as possible, would be more beneficial. Essentially discussing and fixing the Flatpak permissions generally :-) |
I tested very quickly with the X11 fallback flag (and with the X11 socket disabled), as well as by disabling I am not sure why Flathub is marking that ProtonUp-Qt can acquire arbitrary permissions, but aside from this, those two changes appear safe to make (pending further and much more in-depth testing). |
I see "Can acquire arbitrary permissions" in gnome-software as well. I've found this discussion tangentially related: https://reddit.com/r/linux/comments/ybh241/comment/itm931g/?utm_source=share&utm_medium=web2x&context=3
I would venture that flathub uses the same reference. |
Thanks for looking into that, probably not much can bee done about that "acquire arbitrary permissions" thing then, as this This concern was raised before in this issue: flathub/net.davidotek.pupgui2#17 I also found out that ProtonUp-Qt needs So probably the only actionable change in this issue is to set the X11 fallback instead of using X11 by default. |
Yes, thanks for clarifying that.
I removed |
I tested (via Flatseal) enabling the It seems like OP has tested this too without much issue as well. Was there an upstream Qt/PySide issue for this that we could check on to see if this regression was marked as fixed? |
Just to document: This may be held back until #312 can be resolved, since that issue is a case where Wayland is causing a crash and |
Is your feature request related to a problem? Please describe.
the flatpak rates this app to be insecure partly because of the use of x11 by default which is insecure and allows, among other things, any other app currently running to play with the data pupgui uses in memory
Describe the solution you'd like
prioritize wayland, with x11-fallback for users without wayland
Describe alternatives you've considered
i've been running it as such on my side using flatseal
Additional context
The text was updated successfully, but these errors were encountered: