Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant edit networked files (ssh / sftp) #893

Open
mf0hka opened this issue Jan 31, 2016 · 6 comments
Open

cant edit networked files (ssh / sftp) #893

mf0hka opened this issue Jan 31, 2016 · 6 comments

Comments

@mf0hka
Copy link

mf0hka commented Jan 31, 2016

I believe formerly in 1.21 or around there, editing of files was allowed. Im not sure what happened, but this seems to be the case no longer. Pluma, does this operation just fine, as does libre office, and some other file editors. When I try to explicitly run geany to open a file across the network, geany will open but the file will not. The types of connections are for me, ssh, and sftp.
Here is a working cse, in pluma, which is what I would like to see fixed in geany. Pluma is a fine text editor, but I like Geany far more.
s

@codebrainz
Copy link
Member

The following information would be useful:

  • What version of Geany are you using?
  • What operation system and version are you using?
  • How have you mounted the remote file systems?
  • What happens when you try to open the file specifically? (ex. error messages, debug messages, etc)
  • Have you seen sf.net bug #1043?

@elextr
Copy link
Member

elextr commented Jan 31, 2016

The ability of Geany to open files has not changed. What has most likely
changed is that your system is not auto-mounting them locally any more.

On 31 January 2016 at 23:28, j0h notifications@github.com wrote:

I believe formerly in 121 or around there, editing of files was allowed Im
not sure what happened, but this seems to be the case no longer Pluma, does
this operation just fine, as does libre office, and some other file editors
When I try to explicitly run geany to open a file across the network, geany
will open but the file will not The types of connections
Here it is working in pluma, which is what I would like to see fixed in
geany Pluma is a fine text editor, but I like Geany far more
[image: s]
https://camo.githubusercontent.com/225510a4e1e893130e1ad5740b4a6d0d79b0a9c1/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f363531363530342f31323730323334352f37313633353832612d633766342d313165352d386137372d626262303530396132376437706e67
are for me, ssh, and sftp


Reply to this email directly or view it on GitHub
#893.

@derba
Copy link

derba commented Feb 6, 2016

I guess one should not implement a file system driver (ssh, sftp, ftp, nfs, smb etc) in a text editor. That is an OS or desktop environment functionality.

BTW, in File / Open I can write ssh://... and it works fine (gvfs does it, I think).

@elextr
Copy link
Member

elextr commented Feb 6, 2016

I guess one should not implement a file system driver (ssh, sftp, ftp, nfs, smb etc) in a text editor. That is an OS or desktop environment functionality.

Yes, note that pluma is really a part of the DE and is tightly integrated and uses the Gnome Virtual File System to read and write. But being portable Geany is not so tightly integrated.

@elextr
Copy link
Member

elextr commented Feb 7, 2016

@derba I just noticed that the add-ons plugin has an "Add Open URI item in edit menu", not sure if that will do anything for you?

@arigit
Copy link

arigit commented Jun 18, 2017

This seems related to:

#1437

Geany 1.30.1 on GNOME 3.22.3 (using it on Fedora 25).

Up to this last update, editing files on sftp mounts done with nautilus was working perfectly. For years.

Right now, opening a file mount via sftp in nautilus: geany shows the file as if it had no content at all, and if "save" is invoked it will overwrite the original file, all the contents are lost, people can easily lose code due to this problem - even worse: this can haven with auto-save as well.
Please take a look

There is a partial workaround, as described in the other bug:

Dragging a file from nautilus 'sftp mount' to geany, will succeed in opening the file (and the file can be save safely, I tested this), however the "Symbols" sidebar fails to find any symbol - looks like the symbol scanner gets confused for some reason. When copying the file to a local folder and then opening it, then Geany is able to find the symbols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants