Empty document created when launching gedit with gksudo

Bug #1077452 reported by Szymon Nieznański
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When using 'gksudo gedit' an empty "Untitled Document" is always opened in another tab. Furthermore, the document is marked as modified, even though it's empty which results in the "Save changes to document before closing?" dialog appearing when quiting gedit.

Expected behaviour: the document shouldn't be marked as modified when launching without options or shouldn't appear at all when editing another file.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Sat Nov 10 20:07:54 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Szymon Nieznański (isamu715) wrote :
Revision history for this message
Sami Jaktholm (sjakthol) wrote :

 Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 796076, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
G.TORES (ggom20) wrote :

Hello!

Same bug on ubuntu 12.10.

but as normal user .

not using gksudo

Regards

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
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.