Closed Bug 1705911 Opened 4 years ago Closed 3 years ago

gnome-shell-integration addon with Firefox Flatpak version error

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 87
defect

Tracking

()

RESOLVED DUPLICATE of bug 1621763

People

(Reporter: gabriel.reis.mattoso, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

Actual results:

  • A banner with following message appears: "Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector."
  • Website doesn't recognize the version of Gnome Shell is being used to filter extensions compatible with current version
  • When in a extension's page, the ON/OFF switch and the X button doesn't appear

Expected results:

  • No error messages appear
  • website recognize Gnome Shell version
  • Being able to install/ enable/ disable/ remove extension

Additional Information (field hidden from bug entry form):

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: flatpak
Priority: -- → P3

I'm not sure this will even work based on Flatpak architecture? The Flatpak would need to communicate with an application outside of the Flatpak.

Sorry, I don't fully understand the subject, but I can point some things:

  • According to Pipe app project website, it is just a frontend for a daemon that must run on the user's machine, so a flatpak app can somehow communicate outside the container. And it's available on Flathub
  • The dconf app changes several gnome-shell settings, including editing settings for each extension via the path of dconf database /org/gnome/shell/extensions/[extension_ID]/[key] and enabling/disabling extensions by changing the value of the key /org/gnome/shell/enabled-extensions. And it's available on Flathub
  • A manual way to install extensions in gnome-shell is to place the folder containing their files in ~/.local/share/gnome-shell/extensions. And having access to a machine's folder I'm sure it's possible through portals, and if not possible, using filesystem access. Here is the portal's documentation

There is also the possibility to run commands outside the sandbox with the command flatpak-spawn.

Here is a pull request to Obs Studio as example that uses it. It’s description show a better introduction to the subject. Here is it's manifest.

If you have any technical questions, you can create a topic in https://discourse.flathub.org/c/general/. People will try to help.

There's currently no portal for the native messaging hosts so that's why it does not work. The application in flatpak cannot run commands on host. So we need a dbus api for that first. There's been some initiative from the Ubuntu guys, discussed there:
https://forum.snapcraft.io/t/native-messaging-support-in-strictly-confined-browser-snaps/26849

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.