After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 618986 - Check uses of GtkBeans.Global.ShowUri ()
Check uses of GtkBeans.Global.ShowUri ()
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
GIT
Other Linux
: Normal normal
: 0.7.2
Assigned To: F-spot maintainers
F-spot maintainers
Depends on: f-spot-hyena
Blocks:
 
 
Reported: 2010-05-18 13:58 UTC by Paul Wellner Bou
Modified: 2010-07-21 15:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul Wellner Bou 2010-05-18 13:58:42 UTC
In some cases GtkBeans.Global.ShowUri () causes f-spot to crash because of an X window error: f-spot: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Happened in FolderExport when exporting to a ftp location.

Fixed with using:

Gtk.Application.Invoke (delegate {GtkBeans.Global.ShowUri (Dialog.Screen, target.Uri.ToString () );});

May be it was just caused because in this case Dialog.Screen is used? May be not. May there be any side effects if we replace all ShowUri with Invokes?
Comment 1 Ruben Vermeersch 2010-05-18 14:43:09 UTC
This is an interesting case, we should fix all of them. However, this is an excellent situation where you should use ThreadAssist.ProxyToMain from Hyena to avoid needless mainloop invokes. Adding blocker.
Comment 2 Ruben Vermeersch 2010-07-21 15:06:19 UTC
Done.