Public bug reported:

# 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.

** Affects: firefox (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apparmor firefox kde

** Attachment added: "Firefox debug output"
   
https://bugs.launchpad.net/bugs/1974449/+attachment/5591571/+files/firefox_100.0.1+build1-0ubuntu0.22.04.1~mt1_amd64.ansi_vt

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

Title:
  No filepicker in Firefox with enforced AppArmor profile

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


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

Reply via email to