← Back to team overview

desktop-packages team mailing list archive

[Bug 890041] Re: "Untitle Document" opens when opening a document using `gksu[do] gedit /path/to/file"`.

 

*** This bug is a duplicate of bug 796076 ***
    https://bugs.launchpad.net/bugs/796076

** This bug has been marked a duplicate of bug 796076
   When run as root [gksudo gedit <whatever>]  gedit  tries to open a 2nd  'untitled document 1'

-- 
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/890041

Title:
  "Untitle Document" opens when opening a document using `gksu[do] gedit
  /path/to/file"`.

Status in “gedit” package in Ubuntu:
  New

Bug description:
  $ 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

  The "Untitled Document" should only be opened when no file is
  provided, according to `man gedit`.

  Additionally, when "Untitled Document" is opened unexpectedly via
  gksu[do], its tab icon is shown as the rotating "loading" icon.
  Occasionally the icon will stop "spinning", when the tab is focused
  /un-focused it will continue spinning, until it freezes again. On the
  other had, when I expect "Untitled Document" to be opened (e.g.
  `gedit`), its tab icon is the proper "plain-text" icon.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gedit 3.2.1-0ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CheckboxSubmission: 880f1cef728a67d1a58407cc143447d4
  CheckboxSystem: 4ed15c40009aa6f7770f606350a390a2
  Date: Sun Nov 13 21:07:37 2011
  ExecutablePath: /usr/bin/gedit
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  SourcePackage: gedit
  UpgradeStatus: Upgraded to oneiric on 2011-11-04 (9 days ago)

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


References