Comment 15 for bug 270990

Revision history for this message
Olivier Clavel (zeitounator) wrote :

Good evening,

Here are two patches. The first is a partial fix letting aside some gnome_vfs_uri notations on the command line which are still buggy.

The second fixes everything but introduces a dependency to gnome_vfs in system.cpp.

Here are the tests I've been running.
Buggy = auto-detect file format fails and filename contains the vfs method suffix (#gzip:)

Open file GUI current patch1 patch2
/local/path/file.svg ok ok ok
/local/path/file.svgz ok ok ok
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok

Open vfs uri on CLI
/local/path/file.svg ok ok ok
/local/path/file.svgz ok ok ok
file:///local/path/file.svg KO ok ok
file:///local/path/file.svgz KO ok ok
file:///local/path/file.svgz KO Buggy ok
/nfs/path/file.svg ok ok ok
/nfs/path/file.svgz KO ok ok
file:///nfs/path/file.svg ok ok ok
file:///nfs/path/file.svgz KO ok ok
file:///nfs/path/file.svgz#g Buggy Buggy ok
http://server.com/file.svg ok ok ok
http://server.com/file.svgz KO ok ok
http://server.com/file.svgz# Buggy Buggy ok