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 to fix the bug - the files save correctly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1583736 Title: leafpad will not write to remote server mounted via ssh To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/leafpad/+bug/1583736/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs