flatpak / xdg-desktop-portal-gtk

Gtk implementation of xdg-desktop-portal
GNU Lesser General Public License v2.1
130 stars 102 forks source link

question about filechooser's returned code #499

Open rherilier opened 1 month ago

rherilier commented 1 month ago

Hello,

When requesting a file, pressing the escape key makes the response be equal to 2. So, is there a reason to consider GTK_RESPONSE_DELETE_EVENT as an error instead of an equivalent to GTK_RESPONSE_CANCEL?

Thanks in advance

TingPing commented 1 month ago

I agree with you it probably shouldn't be considered an error.

CC @matthiasclasen who seems to have made this choice.

rherilier commented 4 weeks ago

Any news?