User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070322 Firefox/2.0.0.3 Build Identifier: If at one point i open a directory which is an sshfs mount, Thunar loose its ability to monitor file alterations for the rest of the current session, for any new view. I need to logout/login to get FAM support back. Reproducible: Always Steps to Reproduce: 1. test FAM support in a directory view by externally creating a file (touch ${testdir} testfile), see that Thunar refreshes itself. 2. open an sshfs mounted directory in Thunar 3. re-Test FAM support in a new view, see that it do not work anymore. thunar-0.8.0, xfce-4.4.1, glib-2.12.9, gtk+-2.10.9
maybe i should have added that i also use : fuse-2.6.3, sshfs-fuse-1.6, kernel gentoo-sources-2.6.19-r5 and gamin-0.1.8
That's most likely a bug in gamin then, because Thunar handles sshfs mounts like any other folder wrt. the FAM API. Maybe gamin segfaults?
After checking it, no, gamin does not segfaults. I manualy launched a gam_server with --notimeout and a client ID, and made thunar use this particular gam_server by exporting GAM_CLIENT_ID : viewing an sshfs mount do not make the gam_server die, and as soon as i restart thunar (connecting to the same still alive gam_server), everything works again until i go to the sshfs mount again. If i monitor events sent by the gam_server using a simple python script, i see that events are actually sent even after the sshfs stuff, and received by the script but not by thunar.
Created attachment 1109 simple event monitoring script the script i used
Created attachment 1110 simple monitor script further testings: if i monitor 2 directories in the script (one regular and one sshfs): - the script shows events from the regular directory, never from the sshfs one. - if i view the sshfs dir in thunar, thunar stop showing events for all dirs, but the script continues to show events from the regular directory. let me know if you need more info to diagnose this...
Please see bug #3247 - http://bugzilla.xfce.org/show_bug.cgi?id=3247 It's a dupe of this one (even though it was filed later), and the reporter advises that a newer gamin version (0.1.9) fixes it.
> Please see bug #3247 Sorry but i do not have the possibility to do tests about this anymore.
No big deal; I just confirmed that this works properly with gamin-0.1.9 and xfce-4.4.2 (Thunar 0.9.0). Benny, both this and the dupe can be closed. :)
Good to hear.