Kwrite shouldn't try reading deleted file while saving it

Bug #133431 reported by Anderson
6
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:3.5.7-1ubuntu15

Revision history for this message
Jonathan Jesse (jjesse) wrote :

Good evening,

I am able to confirm this problem on a completly up to date Feisty install install.

Jonathan

Changed in kdebase:
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Works as expected in Intrepid.

Changed in kdebase:
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.