← Back to team overview

desktop-packages team mailing list archive

[Bug 827414] Re: gedit fails to start on first try, but does on the second

 

I added the following to both apps and files lenses and now everything
starts as it should. Thanks to Michael Terry for debugging :-)

+    /* Sub processes inheriting our environment may be confused if they
+     * see a starter bus set */
+    Environment.unset_variable ("DBUS_STARTER_ADDRESS");
+    Environment.unset_variable ("DBUS_STARTER_BUS_TYPE");

** Also affects: unity-lens-applications
   Importance: Undecided
       Status: New

** Changed in: unity-lens-applications
   Importance: Undecided => High

** Changed in: unity-lens-applications
       Status: New => Fix Committed

** Changed in: unity-lens-applications
     Assignee: (unassigned) => Mikkel Kamstrup Erlandsen (kamstrup)

** Changed in: unity-lens-applications
    Milestone: None => 0.4.12

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

Title:
  gedit fails to start on first try, but does on the second

Status in Unity:
  Fix Committed
Status in Unity Applications Lens:
  Fix Committed
Status in Unity Files Lens:
  Fix Committed
Status in “gedit” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Confirmed
Status in “gedit” source package in Oneiric:
  Confirmed
Status in “unity” source package in Oneiric:
  Confirmed

Bug description:
  The gedit window fails to appear when I start gedit on my first try.
  It does appear on my second try. This is true when starting from the
  launcher, opening a document from a folder, or opening a file using
  the terminal. I can see gedit did started the first time; the process
  is running.

  If I start gedit using --standalone it does work the first time. This
  implies that default behaviour is to start gedit in the background.
  The file is ignored when gedit starts in the background, so a second
  call is needed to load the document.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gedit 3.1.3-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-8.11-generic-pae 3.0.1
  Uname: Linux 3.0.0-8-generic-pae i686
  NonfreeKernelModules: nvidia wl
  Architecture: i386
  Date: Tue Aug 16 10:29:05 2011
  ExecutablePath: /usr/bin/gedit
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit
  UpgradeStatus: Upgraded to oneiric on 2011-07-30 (17 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/827414/+subscriptions