** Description changed:

+ [ Impact ]
+ 
  Click on 'Images properties' and then on 'folder' should open the folder 
containing displayed pictures but does nothing and causes an error message:
  corrado@corrado-n5-ssv3:~/Pictures$ loupe color-blu.png
  2026-11-09T09:10:59.906963Z ERROR loupe::widgets::properties_view::imp:314: 
Could not open parent directory: 
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Sender is not authorized 
to send message
  
- attaching journal
+ The denial is from apparmor:
+ 
+ dbus-broker[4449]: apparmor="DENIED" operation="dbus_method_call" 
bus="session" path="/org/freedesktop/portal/desktop" 
interface="org.freedesktop.portal.OpenURI" member="OpenDirectory" mask="send" 
name=":1.67" label="loupe" peer_label="unconfined"
+ dbus-broker[4449]: A security policy denied :1.126 to send method call 
/org/freedesktop/portal/desktop:org.freedesktop.portal.OpenURI.OpenDirectory to 
:1.67.
+ 
+ [ Test Plan ]
+ 
+ 1. Open a picture in Image Viewer
+ 2. Navigate to Image Properties
+ 3. Click on the folder icon ("Open Containing Folder")
+ 4. Verify that the file manager was opened in the directory that contains the 
picture
+ 
+ [ Where problems could occur ]
+ 
+ This patch is modifying the loupe apparmor profile to grant it access to the 
org.freedesktop.portal.OpenURI.OpenDirectory dbus method, and it is thus 
granting it more privileges than before.
+ Problems would manifest in the loupe app.
+ 
+ [ Other info ]
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.10
  Package: loupe 50.0-0ubuntu2
  ProcVersionSignature: Ubuntu 7.3.0-10.10-generic 7.3.0
  Uname: Linux 7.3.0-10-generic x86_64
  ApportVersion: 2.36.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Nov  9 10:16:50 2026
  InstallationDate: Installed on 2026-10-16 (24 days ago)
  InstallationMedia: Ubuntu 26.10 "Stonking Stingray" - Official amd64v3 
(20261010)
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  TERM=xterm-256color
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  TERM=xterm-256color
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: loupe
  UpgradeStatus: No upgrade log present (probably fresh install)

** Also affects: apparmor (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Also affects: loupe (Ubuntu Stonking)
   Importance: Undecided
       Status: New

** Changed in: loupe (Ubuntu Stonking)
       Status: New => Invalid

** Changed in: apparmor (Ubuntu)
       Status: Triaged => Fix Committed

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

Title:
  Loupe Image properties > click on 'folder' does not work

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to