gedit gives no error opening nonexistant files

Bug #146916 reported by Joseph Garvin
2
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

Steps to reproduce:
1. Insert a usb drive (actually any volume you can unmount later should work, this is just easy)
2. Open any text file on the usb drive by double clicking it in nautilus
3. Close gedit
4. Remove the usb drive
5. Click Places->Recent Documents->your text file
6. gedit will open the file, but with the contents of it being empty. It will give no error that the file doesn't exist, even though it's trying to open a file on an unmounted volume. Confusingly, if you then try to close gedit it, will ask if you would like to save your changes, even if you've typed nothing.

I haven't tested to see if this only happens when using the Recent Documents menu, but I confirmed it happens when using the menu to open files on my vista partition and my usb drive when they're not mounted. The preferred behavior would be for gedit to give an error that it can't find the file. The current behavior initially made me think my data had been lost (since the file was empty).

Revision history for this message
Joseph Garvin (k04jg02) wrote :

Forgot to mention I'm running Gutsy beta.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Pedro Villavicencio (pedro) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug report. This particular bug has already been reported, but feel free to report any other bugs you find.

Changed in gedit:
status: Triaged → Invalid
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.