elementary / sideload

Sideload Flatpaks on elementary OS
https://elementary.io
GNU General Public License v3.0
46 stars 14 forks source link

Opening an app from Sideload doesn't set up sandbox correctly #131

Open cassidyjames opened 3 years ago

cassidyjames commented 3 years ago

What Happened

I've noticed this when reviewing AppCenter apps; if I install an app with Sideload and open the app using the button in Sideload, it seems like it's strictly sandboxed and things don't work correctly (like connecting to remotes with Taxi or setting wallpapers with Fondo). However, if I close Sideload and open the newly-installed app from Applications Menu, it works as expected.

Expected Behavior

Opening an app from Sideload should not differ from opening an app from Applications Menu.

Steps to Reproduce

  1. Install an app from Sideload, like the build artifact here: https://github.com/elementary/appcenter-reviews/runs/3364930314
  2. Open the app from the Sideload success view
  3. Notice the brokenness of the app
  4. Close the app and re-open it from Applications Menu
  5. Notice that it works fine

This is reproducible for me across apps.

Logs

Platform Information

OS 6 Odin stable

Marukesu commented 3 years ago

Sideload only call Flatpak.Installation.launch so i don't think we are doing something wrong here.

I tested installing the bundle from the artifact and the flatpakref for the one in appcenter, both worked the same way, either by the "open app" button on sideload, or using the application menu.