XDG create screenshot file regardless the result of prompt dialog
I use the flameshot app for capture screenshot. The flameshot app calls xdg api to take the gnome screenshot (imediately the sreen picture file is created in
XDG_PICTURES_DIR path) - the gnome dialog of capture screen is showed and I click on the Cancel/Storno button. But the picture file persist on this
After refusing the prompt dialog, the picture would be removed. Or better, the picture would be created after I allow to caputre the screen.
Fedora 35 with Gnome 41.2 (wayland)
$ dnf list installed | grep xdg-desktop-portal xdg-desktop-portal.x86_64 1.10.1-2.fc35 @updates xdg-desktop-portal-gnome.x86_64 41.1-1.fc35 @fedora xdg-desktop-portal-gtk.x86_64 1.10.0-2.fc35 @updates $ dnf list installed | grep mutter mutter.x86_64 41.2-2.fc35 @updates