Thank you for reporting this bug to Ubuntu.
Ubuntu 20.10 (groovy) reached end-of-life on July 22, 2021.
Ubuntu 19.10 (eoan) reached end-of-life on July 17, 2020.
Ubuntu 19.04 (disco) reached end-of-life on January 23, 2020.
Ubuntu 18.10 (cosmic) reached end-of-life on July 18, 2019.
Ubuntu 17.10
For what this is worth... I'm running a fully-updated Lubuntu system
(18.04.3 LTS) and I'm still seeing this problem with leafpad and smb
shares. Leafpad shows version "Leafpad 0.8.18.1" on the help/about
screen. It appears that there was a fix released in Debian 6 months
ago, but either it
For reference, I think, the following reports highlight the root
cause(s):
#680418 - gvfs-fuse: Wrongly sucessful posix fwrite call on a gvfs sftp mount
can lead to data loss
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680418
1295007 – Non-GIO (POSIX) API call to save data truncates file
** Changed in: leafpad (Debian)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated when I save a txt file during a sftp session
** Changed in: leafpad (Debian)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated when I save a txt file during a sftp session over
** Changed in: leafpad (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated when I save a txt file during a sftp session over
nautilus
** Bug watch added: Debian Bug tracker #890416
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890416
** Changed in: leafpad (Debian)
Importance: Undecided => Unknown
** Changed in: leafpad (Debian)
Status: New => Unknown
** Changed in: leafpad (Debian)
Remote watch: None =>
I have the same problem, so I confirm it is still a bug [October, 2016].
Indeed a dangerous bug. Lucky I found old files in my backup.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
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
I confirm this bug is still present till today [May, 2016].
I edited a *.txt file in leafpad over sftp in nautilus. After I saved
the file in leafpad and exited, the file size became 0 bytes. It erased
entire file contents upon saving! I am very disappointed, since I do not
have the backup of the
It may be also a gvfs issue, but this affects data integrity and therefore it's
a hot one. It's easy to loose files with this.
I think importance of this bug should be set to high.
There must be a way to fix it in leafpad, not gvfs, as it doesn't appear when
editing the same text files in
** Also affects: leafpad (Debian)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated when I save a txt file during a sftp session
Same bug under debian with leafpad 0.8.18.1-3 : in a sftp directory
mounted with nautilus, after editing and saving a text file with
leafpad, my text file get truncated (at exactly 4096 bytes ...). There's
no problem when editing/saving it with gedit though.
--
You received this bug notification
After a few tries, I think I can say the bug is not related to leafpad
per se, but to gvfs and fuse :
I checked the length returned by the fwrite() in the save function of
leafpad (file_save_real in file.c) and it returns a value 4096 bytes.
But the file on the gvfs is only 4096 byte long.
This problem happens when file is XML opened over PCManFM too.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated when I save a txt file during a sftp session over
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: leafpad (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
** Attachment added: git_cheat.txt
https://bugs.launchpad.net/bugs/708829/+attachment/1810909/+files/git_cheat.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/708829
Title:
Text truncated
17 matches
Mail list logo