← Back to team overview

desktop-packages team mailing list archive

[Bug 880038] [NEW] gedit opens unnecessary blank document when used to open a file as root

 

Public bug reported:

On a fully updated Precise i386 system (obtained by replacing oneiric
with precise in sources.list, dist-upgrading, and rebooting) with gedit
3.2.1-0ubuntu1, I created a test file and opened it in gedit:

ek@Gnar:~$ echo test > foo
ek@Gnar:~$ gedit foo

This behaved exactly as expected. Then I quit gedit and opened the file
in gedit as root:

ek@Gnar:~$ gksu gedit foo

This opened the file, but opened a new untitled document as well, as
shown in the attached screenshot.

This also happens on Oneiric (same gedit version, test machine amd64).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gedit 3.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.1.0-1.1-generic 3.1.0-rc10
Uname: Linux 3.1.0-1-generic i686
ApportVersion: 1.24-0ubuntu1
Architecture: i386
Date: Sat Oct 22 13:51:01 2011
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug i386 oneiric precise

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/880038

Title:
  gedit opens unnecessary blank document when used to open a file as
  root

Status in “gedit” package in Ubuntu:
  New

Bug description:
  On a fully updated Precise i386 system (obtained by replacing oneiric
  with precise in sources.list, dist-upgrading, and rebooting) with
  gedit 3.2.1-0ubuntu1, I created a test file and opened it in gedit:

  ek@Gnar:~$ echo test > foo
  ek@Gnar:~$ gedit foo

  This behaved exactly as expected. Then I quit gedit and opened the
  file in gedit as root:

  ek@Gnar:~$ gksu gedit foo

  This opened the file, but opened a new untitled document as well, as
  shown in the attached screenshot.

  This also happens on Oneiric (same gedit version, test machine amd64).

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gedit 3.2.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.1.0-1.1-generic 3.1.0-rc10
  Uname: Linux 3.1.0-1-generic i686
  ApportVersion: 1.24-0ubuntu1
  Architecture: i386
  Date: Sat Oct 22 13:51:01 2011
  ExecutablePath: /usr/bin/gedit
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/880038/+subscriptions


Follow ups

References