sideload icon indicating copy to clipboard operation
sideload copied to clipboard

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

Open cassidyjames opened this issue 4 years ago • 1 comments

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

cassidyjames avatar Aug 18 '21 19:08 cassidyjames

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.

Marukesu avatar Aug 20 '21 22:08 Marukesu