gedit gives no error opening nonexistant files
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).
Forgot to mention I'm running Gutsy beta.