gedit instance not used by nautilus when auto-started

Bug #784574 reported by Julian Lam
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: gedit

After upgrading to 11.04, I noticed that if gedit is present in the "Startup Applications" list, the gedit instance that opens on login is no longer used when a text file is opened from nautilus. I don't have any details about SIMILAR use cases, since mine is kind of an edge case, but here are the reproduction steps:

1. Using non-Unity GNOME...
2. Put gedit into the startup applications list (System -> Preferences -> Startup Applications)
3. Put a nautilus sftp session into the startup applications list (path: nautilus sftp://...) [This may or may not be necessary]
4. Reboot/Re-login
5. Gedit and Nautilus should open up. Using the Nautilus window, open a text file (.php, in my case)
6. Ubuntu should open up a new gedit window, and open the file there, instead of using the already opened session.

Expected behaviour:
Ubuntu should open the text file in the currently open gedit session.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gedit 2.30.4-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed May 18 08:41:26 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_CA:en
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julian Lam (julian-lam) wrote :
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

I can confirm this is the case, however I think the bug should be low priority due to the fact that the impact isn't extremely serious, and it's a relatively niche case to have gedit in your Startup Apps. This may be a general problem though. I wonder are there any more similar cases where documents should open in existing windows but don't?

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

It seems not to impact Firefox for example, so maybe it is Gedit specific?

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

Also doesn't seem to impact JuffED, which is a similar application, so for now I'll have to say this is Gedit specific.

Revision history for this message
Matt Moen (matt-moen) wrote :

I don't think this is limited to having gedit in startup applications. To reproduce this bug, all I need to do (in a Unity desktop):
1. Open gedit from the terminal, unity search, or a unity launch desktop shortcut, and
2. Open a text document through nautilus.

Nautilus will open a second instance and all documents opened through nautilus load in that instance. Repeatedly calling gedit edit from terminal, using alt-f2, etc all re-activate the "unity instance."

Revision history for this message
Julian Lam (julian-lam) wrote : Re: [Bug 784574] Re: gedit instance not used by nautilus when auto-started

Good to know, the reproduction steps provided are only the ones I went
through, since that is how my environment is set up to cause the bug.

On Fri, May 20, 2011 at 1:14 PM, Matt Moen <email address hidden>wrote:

> I don't think this is limited to having gedit in startup applications. To
> reproduce this bug, all I need to do (in a Unity desktop):
> 1. Open gedit from the terminal, unity search, or a unity launch desktop
> shortcut, and
> 2. Open a text document through nautilus.
>
> Nautilus will open a second instance and all documents opened through
> nautilus load in that instance. Repeatedly calling gedit edit from
> terminal, using alt-f2, etc all re-activate the "unity instance."
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/784574
>
> Title:
> gedit instance not used by nautilus when auto-started
>
> Status in “gedit” package in Ubuntu:
> Confirmed
>
> Bug description:
> Binary package hint: gedit
>
> After upgrading to 11.04, I noticed that if gedit is present in the
> "Startup Applications" list, the gedit instance that opens on login is
> no longer used when a text file is opened from nautilus. I don't have
> any details about SIMILAR use cases, since mine is kind of an edge
> case, but here are the reproduction steps:
>
> 1. Using non-Unity GNOME...
> 2. Put gedit into the startup applications list (System -> Preferences ->
> Startup Applications)
> 3. Put a nautilus sftp session into the startup applications list (path:
> nautilus sftp://...) [This may or may not be necessary]
> 4. Reboot/Re-login
> 5. Gedit and Nautilus should open up. Using the Nautilus window, open a
> text file (.php, in my case)
> 6. Ubuntu should open up a new gedit window, and open the file there,
> instead of using the already opened session.
>
> Expected behaviour:
> Ubuntu should open the text file in the currently open gedit session.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.04
> Package: gedit 2.30.4-2ubuntu1
> ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
> Uname: Linux 2.6.38-8-generic x86_64
> NonfreeKernelModules: nvidia
> Architecture: amd64
> Date: Wed May 18 08:41:26 2011
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64
> (20110427.1)
> ProcEnviron:
> LANGUAGE=en_CA:en
> LANG=en_CA.UTF-8
> SHELL=/bin/bash
> SourcePackage: gedit
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/784574/+subscribe
>

Revision history for this message
dan (florinndan) wrote :

unsubscribe

________________________________
From: Matt Moen <email address hidden>
To: <email address hidden>
Sent: Fri, May 20, 2011 8:14:05 PM
Subject: [Bug 784574] Re: gedit instance not used by nautilus when auto-started

I don't think this is limited to having gedit in startup applications. To
reproduce this bug, all I need to do (in a Unity desktop):
1. Open gedit from the terminal, unity search, or a unity launch desktop
shortcut, and
2. Open a text document through nautilus.

Nautilus will open a second instance and all documents opened through
nautilus load in that instance. Repeatedly calling gedit edit from
terminal, using alt-f2, etc all re-activate the "unity instance."

--
You received this bug notification because you are subscribed to gedit
in Ubuntu.
https://bugs.launchpad.net/bugs/784574

Title:
  gedit instance not used by nautilus when auto-started

Status in “gedit” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: gedit

  After upgrading to 11.04, I noticed that if gedit is present in the
  "Startup Applications" list, the gedit instance that opens on login is
  no longer used when a text file is opened from nautilus. I don't have
  any details about SIMILAR use cases, since mine is kind of an edge
  case, but here are the reproduction steps:

  1. Using non-Unity GNOME...
  2. Put gedit into the startup applications list (System -> Preferences ->
Startup Applications)
  3. Put a nautilus sftp session into the startup applications list (path:
nautilus sftp://...) [This may or may not be necessary]
  4. Reboot/Re-login
  5. Gedit and Nautilus should open up. Using the Nautilus window, open a text
file (.php, in my case)
  6. Ubuntu should open up a new gedit window, and open the file there, instead
of using the already opened session.

  Expected behaviour:
  Ubuntu should open the text file in the currently open gedit session.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: gedit 2.30.4-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed May 18 08:41:26 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcEnviron:
   LANGUAGE=en_CA:en
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  SourcePackage: gedit
  UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sebastien Bacher (seb128) wrote :

seems similar to bug #777292

Changed in gedit (Ubuntu):
importance: Undecided → Low
Revision history for this message
Matt Moen (matt-moen) wrote :

The principle text editor in ubuntu is nearly unusable for me. Can we bump the priority on this? Related:whatever instance (either the unity instance or the nautilus instance for lack of a better description) has numerous UI bugs. For example, you can't click on the overlay scroll bar -- it appears but then disappears as you mouse over it to move it.

Between having two instances of my single instance editor app depending on whether i open a text file from nautlius or from the principle app launcher is bad enough, but when one of them is crippled .. arggh!

Also please mark the other bug (or this one) a dupe .. I think it's clearly the same issue (and cross posting this follow up):
seems similar to bug #777292

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.