Open Bug 2078349 Opened 1 month ago Updated 14 days ago

[flatpak] Firefox needs access to native-messaging-proxy dbus service

Categories

(Firefox :: General, enhancement)

Firefox 157
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: geometry1, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce

Firefox 157 now includes frontend support for xdg-native-messaging-proxy, see https://bugzilla.mozilla.org/show_bug.cgi?id=1955255. To be useful, the flatpak version of Firefox needs to be granted access to the corresponding d-bus service. Thus, we need to grant Talk permission on the session bus for org.freedesktop.NativeMessagingProxy. Steps to reproduce:

  1. Install xdg-native-messaging-proxy in the OS.
  2. Install Firefox 157 flatpak from Flathub.
  3. Enable xdg-native-messaging-proxy support by setting widget.use-xdg-desktop-portal.native-messaging-proxy preference to 2 or 1, see https://bugzilla.mozilla.org/show_bug.cgi?id=1955255#c26.

Actual results

Firefox does not have access to the native messaging proxy d-bus service. Communication with NM hosts does not work.

Expected results

Communication with NM hosts works. This can be achieved by manually granting the permission, but should be automatic:

flatpak override --user --talk-name=org.freedesktop.NativeMessagingProxy org.mozilla.firefox

See also: https://github.com/flatpak/xdg-native-messaging-proxy/issues/9#issuecomment-5957075311

Blocks: flatpak
Depends on: 1955255
See Also: → 1955255
Type: defect → enhancement

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, but is not confident enough to move the bug to that component.

Component: Untriaged → General
Summary: [flatpak] Adapt Firefox flatpak manifest to allow access to native-messaging-proxy dbus session service → [flatpak] Firefox needs access to native-messaging-proxy dbus service
You need to log in before you can comment on or make changes to this bug.