Skip to content

Error: No such interface “org.freedesktop.portal.Screenshot” #355

@rghvdberg

Description

@rghvdberg

OS: Ubuntu 26.04
GNOME desktop
Wayland.

Clicking [Take a Screenshot...] results in an error "Screenshot cancelled"

Image

Both snap and flatpak have the same error.
Below the log of the snap package.

❯ snap run gradia 
[INFO] Application starting…
[INFO] Command line arguments: []
[INFO] Opening window with file_path=None
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:802: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:834: FINISHME: support more multi-planar formats with DRM modifiers

(gradia:88650): Gtk-CRITICAL **: 21:34:10.343: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.415" (uid=1000 pid=88650 comm="python3 /snap/gradia/8/usr/bin/gradia" label="snap.gradia.gradia (enforce)") interface="org.a11y.atspi.Socket" member="Embed" error name="(unset)" requested_reply="0" destination="org.a11y.atspi.Registry" (bus)

(gradia:88650): Gtk-CRITICAL **: 21:34:11.933: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.415" (uid=1000 pid=88650 comm="python3 /snap/gradia/8/usr/bin/gradia" label="snap.gradia.gradia (enforce)") interface="org.a11y.atspi.Socket" member="Embed" error name="(unset)" requested_reply="0" destination="org.a11y.atspi.Registry" (bus)

(gradia:88650): Gtk-CRITICAL **: 21:34:14.742: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.415" (uid=1000 pid=88650 comm="python3 /snap/gradia/8/usr/bin/gradia" label="snap.gradia.gradia (enforce)") interface="org.a11y.atspi.Socket" member="Embed" error name="(unset)" requested_reply="0" destination="org.a11y.atspi.Registry" (bus)
[ERROR] Screenshot error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Screenshot” on object at path /org/freedesktop/portal/desktop (19)
[INFO] If you are reporting an issue, please copy the logs printed above to the issue body.

(gradia:88650): Gtk-CRITICAL **: 21:34:15.106: Unable to register the application: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.415" (uid=1000 pid=88650 comm="python3 /snap/gradia/8/usr/bin/gradia" label="snap.gradia.gradia (enforce)") interface="org.a11y.atspi.Socket" member="Embed" error name="(unset)" requested_reply="0" destination="org.a11y.atspi.Registry" (bus)
[INFO] Application shutdown started, cleaning temp directories…
[INFO] Cleanup complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions