On 26/4/11 18:19, Krzysztof KosiĆski wrote:
2011/4/26 Andrew <rugby471@...400...>:
The way I see it Martin, is if I put in something that just works for Linux (maybe Windows), then something that works globally will (probably) never get implemented, whereas this way there is an incentive for someone to do this.
This obviously a bug in GIO which should be fixed, not an indication that GFileMonitor is not cross platform. It would be far better to fix the bug in GIO rather than implement a substandard workaround in Inkscape. You can use the argument both ways: if we put in a workaround, there will be no motivation to fix this GIO bug on OSX.
I don't know whether it is related or indicating an unsupported feature:
Every time the location widget in the standard GtkFileChooser dialog is used on osx (search google, this affects gtk-demo as well as any other GTK+ application), this warning is displayed on the console:
(gtk-demo:87756): Gtk-WARNING **: Unable to find default local directory monitor type
As far as I can tell the error comes from glib/gio: http://git.gnome.org/browse/glib/tree/gio/glocaldirectorymonitor.c?id=2.28.6#n268
Possibly this is related to the failure to monitor a directory with GIO on darwin/osx (another affected application: Raw Therapee [1])? The warnings are not limited to the current stable versions (glib 2.28.6 / gtk2 2.24.4), but have been around apparently since around GTK+ >2.12.9 (according to Google [2]).
~suv
[1] http://rawtherapee.com/forum/viewtopic.php?p=10457#10457 http://code.google.com/p/rawtherapee/source/browse/rtgui/dirbrowser.cc#221 [2] http://www.mail-archive.com/bug-gnubg@...570.../msg03464.html