https://bugs.kde.org/show_bug.cgi?id=432627

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fab...@ritter-vogt.de

--- Comment #10 from Fabian Vogt <fab...@ritter-vogt.de> ---
(In reply to Bharadwaj Raju from comment #9)
> (In reply to Nate Graham from comment #6)
> 
> Reading the GIO docs (https://wiki.gnome.org/Projects/gvfs/doc):
> 
> > The g_file_get_path() method as implemented in GDaemonFile can provide 
> > local pathname when FUSE mountpoint is registered and connected with the 
> > master gvfs daemon. This path can then be easily used for spawning 
> > applications with a local path. When application is asked to create new 
> > GFile instance using the local FUSE path, it is automatically converted to 
> > a native URI. That way we don't need to pass URI strings outside of GIO 
> > world.
> 
> Is it feasible to do this? Only pass around FUSE paths for compatibility but
> having KIO convert them to KIO-native URIs in KDE apps?

That's exactly what I hand in mind from the beginning, no idea that GIO does
that as well.

There are some more tricks which could be done, like including the KIO URL as a
different mimetype in the DnD data, in addition to the local fuse path as main
URL (text/uri-list).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to