GNOME Bugzilla – Bug 653563
When run as root [gksudo gedit <whatever>] gedit tries to open a 2nd 'untitled document 1'
Last modified: 2013-03-16 17:32:35 UTC
this report has been filed here:
gksudo gedit /etc/fstab will open fstab successfully but will also try to open "Untitled Document 1" at the same time
If just running gksudo gedit than you'll get "Untitled Document 1" that never does fully open (become writable"
I can confirm this:
$ gedit # opens untitled document
$ gedit /path/to/file # opens file
$ sudo gedit /path/to/file # opens file
$ gksu gedit /path/to/file # opens file & untitled document
$ gksudo gedit /path/to/file # opens file & untitled document
I have seen this bug listed on the Ubuntu bugs (#880038). I run Fedora 15 x64, and x32, and can duplicate the problem when logged in as root, or user, on both machines. I generally open files from the Gnome, or KDE file manager, either right clicking and selecting "Open With", or left clicking. This always opens an untitled document.
I have been using gedit for years, and only started experiencing this problem with V3.0.x. Older versions didn't used to ask to save new, totally blank files to my knowledge either.
I can ba useful to have an option to prevent the opening of a new untitled document at the Gedit opening no ?
(In reply to comment #3)
Sorry for my english I've not seen my faults.
I said it can be useful to have an option at the window preferences to prevent the opening of a new untitled document at the Gedit opening no ?
*** Bug 658100 has been marked as a duplicate of this bug. ***
No longer an issue in gedit-3.7.x (ubuntu install
-> close the bug. Feel free to reopen it if it is not really fixed.