GVFS mount shown as empty after disconnect
Hi,
there's more GVFS issues open, but I haven't found this particular one yet (I think).
When a GVFS mount disconnects (e.g. timeout after suspend), it is shown as empty. Thunar will not automatically reconnect to previously visited locations, but will reconnect to new locations on the same host. It seems cache invalidation is broken, leading Thunar to assume disconnected drives are merely empty.
Repro:
- Connect to
sftp://server
- Browse to
sftp://server/foo/bar
- -> Everything working fine so far
- Suspend the device for a few minutes to force the SFTP connection to time out
- Browse to
sftp://server/foo/bar
- -> Location is either shown as empty or non-existent
- Browse to
sftp://server/foo
- -> Location is either shown as empty or non-existent
- Browse to
sftp://server
- -> Location is either shown as empty or non-existent
- Browse to
sftp://server/baz/test
- -> Thunar finally noticed that SFTP is not even connected and offers to re-establish the connection
- -> Now
sftp://server/foo/bar
and the others also start working again
Thanks!