[Bug 708829] Re: Text truncated when I save a txt file during a sftp session over nautilus

2016-06-16 Thread hippieshaker
I'm not sure if it's the same issue as originally reported, but I confirm the behaviour Surendra has reported. It happens on SFTP/SSH connections as well as SMB, and seems to only occur on text files less than 4096 bytes. Yes this is a dangerous bug - I was just lucky to notice before losing impor

[Bug 1583736] Re: leafpad will not write to remote server mounted via ssh

2016-06-16 Thread hippieshaker
It seems to only occur on text files less than 4096 bytes. Yes this is a dangerous bug - I was just lucky to notice before losing important notes. If you reverse lines 232 & 233 in src/file.c so that it becomes: fclose(fp); gtk_text_buffer_set_modified(buffer, FALSE); and recompile it seems t

[Bug 1542096] Re: leafpad erases files over SMB

2016-06-16 Thread hippieshaker
I confirmed this happens on SFTP connections as well as SMB, and seems to only occur on text files less than 4096 bytes. Yes this is a dangerous bug - I was just lucky to notice before losing important notes. If you reverse lines 232 & 233 in src/file.c so that it becomes: fclose(fp); gtk_text