[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-25 Thread Gyorgy Kortvelyessy
Upgraded to `firefox/jammy 104.0+build2-0ubuntu0.22.04.1~mt1`
After a quick testing (removing site-specific configurations for 
`usr.bin.firefox` + apparmor service force-reload'ed) I can confirm that the 
implemented fix works for me.

Thank you all, especially thanks to Oliver Tilloy.


** Changed in: firefox (Ubuntu)
   Status: Invalid => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Fix Released
Status in firefox source package in Bionic:
  Fix Released
Status in firefox source package in Focal:
  Fix Released

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-24 Thread Launchpad Bug Tracker
This bug was fixed in the package firefox -
104.0+build3-0ubuntu0.18.04.1

---
firefox (104.0+build3-0ubuntu0.18.04.1) bionic; urgency=medium

  * New upstream release (104.0+build3)

firefox (104.0+build2-0ubuntu0.18.04.1) bionic; urgency=medium

  * New upstream release (104.0+build2)

firefox (104.0+build1-0ubuntu0.18.04.1) bionic; urgency=medium

  * New upstream release (104.0+build1)

  [ Olivier Tilloy ]
  * Update the apparmor profile to allow access to xdg-desktop-portal
and xdg-document-portal (LP: #1974449)
- debian/usr.bin.firefox.apparmor.14.10

  [ Rico Tzschichholz ]
  * Bump build-dep on nodejs(-mozilla) >= 12.22.1
- debian/control{,.in}

 -- Olivier Tilloy   Fri, 19 Aug 2022
07:23:58 +0200

** Changed in: firefox (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

** Changed in: firefox (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid
Status in firefox source package in Bionic:
  Fix Released
Status in firefox source package in Focal:
  Fix Released

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-24 Thread Launchpad Bug Tracker
This bug was fixed in the package firefox -
104.0+build3-0ubuntu0.20.04.1

---
firefox (104.0+build3-0ubuntu0.20.04.1) focal; urgency=medium

  * New upstream release (104.0+build3)

firefox (104.0+build2-0ubuntu0.20.04.1) focal; urgency=medium

  * New upstream release (104.0+build2)

firefox (104.0+build1-0ubuntu0.20.04.1) focal; urgency=medium

  * New upstream release (104.0+build1)

  [ Olivier Tilloy ]
  * Update the apparmor profile to allow access to xdg-desktop-portal
and xdg-document-portal (LP: #1974449)
- debian/usr.bin.firefox.apparmor.14.10

  [ Rico Tzschichholz ]
  * Bump build-dep on nodejs(-mozilla) >= 12.22.1
- debian/control{,.in}

 -- Olivier Tilloy   Fri, 19 Aug 2022
07:25:17 +0200

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid
Status in firefox source package in Bionic:
  Fix Released
Status in firefox source package in Focal:
  Fix Released

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-05 Thread Olivier Tilloy
Fixed in the beta branches (bionic and focal) with
https://bazaar.launchpad.net/~mozillateam/firefox/firefox-
beta.bionic/revision/1463 and
https://bazaar.launchpad.net/~mozillateam/firefox/firefox-
beta.focal/revision/1463.

** Changed in: firefox (Ubuntu Bionic)
   Status: Confirmed => Fix Committed

** Changed in: firefox (Ubuntu Focal)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid
Status in firefox source package in Bionic:
  Fix Committed
Status in firefox source package in Focal:
  Fix Committed

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-05 Thread Launchpad Bug Tracker
** Branch linked: lp:~mozillateam/firefox/firefox-beta.bionic

** Branch linked: lp:~mozillateam/firefox/firefox-beta.focal

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid
Status in firefox source package in Bionic:
  Fix Committed
Status in firefox source package in Focal:
  Fix Committed

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-08-05 Thread Olivier Tilloy
Even though the reporter wasn't using an officially-supported package,
the problem is actually valid for officially-supported packages of
firefox on bionic and focal, so I'm going to update the apparmor
profiles for those to address the issue.

** Also affects: firefox (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: firefox (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: firefox (Ubuntu Bionic)
   Status: New => Confirmed

** Changed in: firefox (Ubuntu Bionic)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: firefox (Ubuntu Focal)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: firefox (Ubuntu Focal)
   Status: New => Confirmed

** Changed in: firefox (Ubuntu Bionic)
   Importance: Undecided => Medium

** Changed in: firefox (Ubuntu Focal)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid
Status in firefox source package in Bionic:
  Confirmed
Status in firefox source package in Focal:
  Confirmed

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-05-20 Thread Erich Eickmeyer 
Thank you for taking the time to report this bug and trying to help make
Ubuntu better. However, it seems that you are not using a software
package provided by the official Ubuntu repositories. Because of this
the Ubuntu project can not support or fix your particular bug. Please
report this bug to the provider of the software package. Thanks!

If you are interested in learning more about software repositories and
Ubuntu, check https://help.ubuntu.com/community/Repositories.

** Changed in: firefox (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-05-20 Thread Erich Eickmeyer 
** Changed in: firefox (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  Invalid

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-05-20 Thread Ubuntu Foundations Team Bug Bot
The attachment "usr.bin.firefox.diff" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  New

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-05-20 Thread Gyorgy Kortvelyessy
On Thu, 19 May 2022 17:45:40 +0200 Olivier Tilloy 
 wrote:
> The portal-related changes appear to be copied from the apparmor profile
> generated by snapd, but there's more to it in the desktop interface (see
> https://github.com/snapcore/snapd/blob/master/interfaces/builtin/desktop.go=#L240).
> It looks like the "Allow access to xdg-desktop-portal and
> xdg-document-portal" section would also be needed.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  New

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1974449] Re: No filepicker in Firefox with enforced AppArmor profile

2022-05-20 Thread Gyorgy Kortvelyessy
Fix only for the pilepicker

** Patch added: "usr.bin.firefox.diff"
   
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+attachment/5591574/+files/usr.bin.firefox.diff

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1974449

Title:
  No filepicker in Firefox with enforced AppArmor profile

Status in firefox package in Ubuntu:
  New

Bug description:
  # System
  Ubuntu 22.04 LTS (Jammy Jellyfish) {kubuntu-ppa/backports/ubuntu jammy main | 
mozillateam/ppa/ubuntu/ jammy main}
  Package: firefox
  Version: 100.0.1+build1-0ubuntu0.22.04.1~mt1
  ---
  # Description
  I’m using Firefox stand-alone package (not the mainline Ubuntu Snap version) 
under KDE (native KDE filepicker) with enforced `usr.bin.firefox AppArmor` 
profile (included in `firefox` package) and when I try to open a file, save a 
screenshot or print to file, no filepicker shown.
  ---
  # Error message
  Can't open portal file chooser: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy 
prevents this sender from sending this message to this recipient; 
type="method_call", […] interface="org.freedesktop.portal.FileChooser" 
member="OpenFile" […] destination="org.freedesktop.portal.Desktop" […])
  ---
  # Suggested fix
  Please see commit:
  
https://github.com/snapcore/snapd/pull/8793/files/ec7f01e8c15bf9303cfb30354470d2a7b3783f25

  # Fix result
  Implementing the part for `org.freedesktop.portal.Desktop` from the above 
commit resolves the filepicker issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1974449/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp