Kwrite shouldn't try reading deleted file while saving it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdebase (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: kate
Kwrite shouldn't try reading deleted file while saving it.
Just now, I lost an important text document because of this bug.
-------
Try reproduce these steps:
#1. Open konsole
#2. Create a simple text file.
$ seq 1 20 > test.txt
#3. Open the new file with kwrite (in background).
$ kwrite test.txt &
#4. Remove the file while kwrite is open.
$ rm -f test.txt
#5. Activate kwrite's window. It says the file was removed from disc and asks for saving it again.
#6. Click "Save file as" and choose a folder and a name for the new file.
#7. Click "Save" on dialog box. It says the file couldn't be read from disc and loses the unsaved content.
Using Ubuntu Gutsy, kate=4:
Good evening,
I am able to confirm this problem on a completly up to date Feisty install install.
Jonathan