GNOME Bugzilla – Bug 778678
gtkshow: Prefer gtk_show_uri_on_window() which works for sandboxed apps
Last modified: 2017-02-15 15:25:15 UTC
.
Created attachment 345820 [details] [review] gtkshow: Prefer gtk_show_uri_on_window() which works for sandboxed apps gtk_show_uri_on_window() will pass enough information for Portal helpers to allow dialogue parenting in Flatpak, gtk_show_uri() won't, so deprecate it.
Review of attachment 345820 [details] [review]: ::: gtk/gtkshow.c @@ +40,3 @@ + * Note that this function is deprecated as it does not pass the necessary + * information for helpers to parent their dialog properly when run from + * sandboxed applications. I don't think it really has anything to do with sandboxing per se. You simply won't get a transient parent relationship if you call gtk_show_uri(), sandbox or not... But maybe it is more noticable for portals where we generally show 'dialog-like' windows. So, lets just leave it like this.
Created attachment 345839 [details] [review] gtkshow: Prefer gtk_show_uri_on_window() which works for sandboxed apps gtk_show_uri_on_window() will pass enough information for Portal helpers to allow dialogue parenting in Flatpak, gtk_show_uri() won't, so deprecate it.
Attachment 345839 [details] pushed as 104c9ac - gtkshow: Prefer gtk_show_uri_on_window() which works for sandboxed apps