You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Edit button in Gradia Capture fails silently: empty stdin, then do_open() TypeError #382
Gradia 1.14.0 (Flathub, system install, up to date)
Gradia Capture: built from source at commit f70a212 (22 Aug 2026, latest master)
Fedora 44, GNOME 50.5, Wayland
Steps
Take an area screenshot with the GNOME screenshot UI (Gradia Capture enabled)
Click the pencil/edit button on the screenshot notification
Expected: Gradia opens with the screenshot.
Actual: Nothing visible happens. Gradia is D-Bus activated, fails to read the image from stdin, then the forwarded open call raises a TypeError in do_open(). The process exits ~10 s later without showing a window.
Opening a file directly works fine: flatpak run be.alexandervanhee.gradia ~/Pictures/Screenshots/<file>.png
Log (journalctl --user -f -n 0 while clicking the button)
systemd[2165]: Started dbus-:1.2-be.alexandervanhee.gradia@7.service.
systemd[2165]: Started app-flatpak-be.alexandervanhee.gradia-3271480572.scope.
flatpak[728873]: [INFO] Application starting…
flatpak[728873]: [CRITICAL] Failed to read image from stdin.
flatpak[728873]: Exception:
flatpak[728873]: No image data received from stdin.
flatpak[728873]: Traceback:
flatpak[728873]: Traceback (most recent call last):
flatpak[728873]: File "/app/share/gradia/gradia/utils/std_image_loader.py", line 32, in read_from_stdin
flatpak[728873]: raise ValueError("No image data received from stdin.")
flatpak[728873]: ValueError: No image data received from stdin.
systemd[2165]: Started app-flatpak-be.alexandervanhee.gradia-711137232.scope.
flatpak[728873]: [INFO] Application startup signal fired
flatpak[728873]: TypeError: GradiaApp.do_open() takes 3 positional arguments but 4 were given
flatpak[728873]: [INFO] Application shutdown started, cleaning temp directories…
flatpak[728873]: [INFO] Cleanup complete.
Two things stand out: stdin appears to be lost when the instance is D-Bus activated, and GradiaApp.do_open looks like it's missing a parameter for GApplication's open vfunc (files, n_files, hint).
get the following when trying the open a image file in nautilus with "right-click" -> open with" -> choose "gradia" in app list.
version 1.14.0
dbus-daemon[54236]: [session uid=1002 pid=54236 pidfd=5] Activating service name='be.alexandervanhee.gradia' requested by ':1.162' (uid=1002 pid=72881 comm="/usr/bin/nautilus --gapplication-service" label="nautilus (unconfined)")
systemd[54204]: Started app-flatpak-be.alexandervanhee.gradia-3046315071.scope.
be.alexandervanhee.gradia[74489]: [INFO] Application starting…
be.alexandervanhee.gradia[74489]: [CRITICAL] Failed to read image from stdin.
be.alexandervanhee.gradia[74489]: Exception:
be.alexandervanhee.gradia[74489]: No image data received from stdin.
be.alexandervanhee.gradia[74489]: Traceback:
be.alexandervanhee.gradia[74489]: Traceback (most recent call last):
be.alexandervanhee.gradia[74489]: File "/app/share/gradia/gradia/utils/std_image_loader.py", line 32, in read_from_stdin
be.alexandervanhee.gradia[74489]: raise ValueError("No image data received from stdin.")
be.alexandervanhee.gradia[74489]: ValueError: No image data received from stdin.
be.alexandervanhee.gradia[74489]:
be.alexandervanhee.gradia[74489]: [INFO] If you are reporting an issue, please copy the logs printed above to the issue body.
dbus-daemon[54236]: [session uid=1002 pid=54236 pidfd=5] Successfully activated service 'be.alexandervanhee.gradia'
systemd[54204]: Started app-flatpak-be.alexandervanhee.gradia-2085631960.scope.
be.alexandervanhee.gradia[74489]: [INFO] Application startup signal fired
be.alexandervanhee.gradia[74489]: TypeError: GradiaApp.do_open() takes 3 positional arguments but 4 were given
be.alexandervanhee.gradia[74489]: [INFO] Application shutdown started, cleaning temp directories…
be.alexandervanhee.gradia[74489]: [INFO] Cleanup complete.
Thanks @orion82480 That confirms it's Gradia's D-Bus activation/open path rather than Gradia Capture. Affects any app launching Gradia with a file (Nautilus "Open With", the extension's edit button).
Activity
orion82480 commentedon Oct 1, 2026
get the following when trying the open a image file in nautilus with "right-click" -> open with" -> choose "gradia" in app list.
version 1.14.0
davew85 commentedon Oct 1, 2026
Thanks @orion82480 That confirms it's Gradia's D-Bus activation/open path rather than Gradia Capture. Affects any app launching Gradia with a file (Nautilus "Open With", the extension's edit button).
dtw commentedon Oct 22, 2026
It's possible this bug has surfaced because of Flathub's bump to "runtime-version": "51" - there is an associated PR already