Public bug reported: Binary package hint: gedit
This is one really nasty bug. I've succesfully opened an utf8-encoded file containing more than 200 lines of text. I copied a line of text (a simple quote, nothing to mention) from firefox to gedit, to add it in the list. I pressed CTRL+S to save the file, and got an error: Unable to save as UTF-8, try another encoding. (Huh? I hit cancel.) After hitting cancel, the "file has been modified, do you want to reload it?" notification appears. I still can see the contents of the file in front of my eyes, but can't modify it (normal behaviour I think). Curious, I reload the file: The contents are GONE. Gedit just cleared the 200+ lines text file. And by looking at the folder, I can confirm that the file is actually cleared. At least I had a backup of this file. Sorry, but I really don't know what i've copy-pasted from firefox which was *not* utf-8. All I know is that this should really not be normal behaviour on behalf of gedit. PS.: Sorry for my bad english. ;) ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 ExecutablePath: /usr/bin/gedit Package: gedit 2.26.1-0ubuntu1 ProcEnviron: LANG=fr_CA.UTF-8 SHELL=/bin/bash SourcePackage: gedit Uname: Linux 2.6.28-15-generic i686 ** Affects: gedit (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 -- gedit clears original file after failing to save modifications with the same encoding https://bugs.launchpad.net/bugs/439081 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs