I had claude try to help me debug and it seems like its associated to
this gnome ‘focused app’ restriction
Mar 14 18:55:18 johnny5 xdg-desktop-portal-gnome[427758]: Failed to associate portal window with parent window
Mar 14 18:55:18 johnny5 xdg-desktop-portal[427783]: Failed to show access dialog: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied:
GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Only the focused app is allowed to show a system access dialog
This repeats on every attempt. The flow is:
1. Flameshot calls the Screenshot portal
2. The portal tries to show an access/permission dialog
3. GNOME blocks the dialog because flameshot isn't the focused window
4. Flameshot gets no screenshot data back and reports "Unable to capture screen"