Public bug reported:

(this was initially reported here: https://github.com/flatpak/xdg-
desktop-portal/pull/705#issuecomment-1123392120)

When testing the WebExtensions portal against the only known client so
far (firefox snap + the corresponding upstream patch
https://phabricator.services.mozilla.com/D140803), I'm consistently
seeing the following problem: the first time the user is prompted for
authorization and accepts, the portal will spawn the native connector
and pass the file descriptors to the client (firefox snap), but the
client sees the file descriptors as closed. Closing the client and re-
opening it doesn't help. Only when the portal is terminated and
restarted does communication through FDs start working normally.

It turns out this is caused by a missing variable initialization, which
is trivially fixed by https://github.com/jhenstridge/xdg-desktop-
portal/pull/2.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xdg-desktop-portal 1.14.4-1ubuntu1~22.04.1
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 20 14:03:15 2022
InstallationDate: Installed on 2020-09-16 (671 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200910)
SourcePackage: xdg-desktop-portal
UpgradeStatus: Upgraded to jammy on 2022-03-19 (122 days ago)

** Affects: xdg-desktop-portal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy uec-images wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to xdg-desktop-portal in Ubuntu.
https://bugs.launchpad.net/bugs/1982340

Title:
  Clients of the WebExtensions portal see the FDs as closed when the
  portal is used for the first time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-desktop-portal/+bug/1982340/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to