After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756265 - File Chooser Dialogs Does Not Allow Remote Files Selection
File Chooser Dialogs Does Not Allow Remote Files Selection
Status: RESOLVED DUPLICATE of bug 317875
Product: meld
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2015-10-08 21:58 UTC by esleggiero
Modified: 2015-10-09 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description esleggiero 2015-10-08 21:58:54 UTC
Meld uses the gtk.FileChooser class without set the set_local_only property value.

Unfortunately the default value of set_local_only property is True.

With this default value, paths like gvfs mounts (eg. sftp://host/file.ext) are not allowed.

I tried to add these 2 new lines and the remote paths works well: 

File: meld/newdifftab.py

         for chooser in self.file_chooser:
             chooser.set_current_folder(default_path)
>>>          chooser.set_local_only(False)

...

            for chooser in self.file_chooser:
                if not chooser.get_filename():
                    chooser.set_current_folder(parent)
>>>                 chooser.set_local_only(False)
Comment 1 Kai Willadsen 2015-10-09 20:09:57 UTC
This will partially work for some files, but definitely not others. We can only enable remote selection with proper GIO support, which is... progressing very slowly.

Thanks for your bug report.

*** This bug has been marked as a duplicate of bug 317875 ***