After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668841 - doesn't reuse running instance when started from nautilus
doesn't reuse running instance when started from nautilus
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-27 14:12 UTC by Sebastien Bacher
Modified: 2013-11-09 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2012-01-27 14:12:13 UTC
Using gedit 3.3.2:

"It is very easy to replicate:

1. Open geedit from Unity
2. Open a text file by double clicking on it in file manager
3. Note that the text file has not opened in the gedit instance opened from Unity."

Seems like the instances ran from nautilus are not shared, you can replace the "run from unity" by "run from a command line"
Comment 1 Sebastien Bacher 2012-01-27 14:13:31 UTC
(the bug was originally described on https://bugs.launchpad.net/gedit/+bug/777292)

dnding between two instances open those way lead to the session locking bug #664646
Comment 2 Gert Kulyk 2012-01-28 17:04:22 UTC
I'm seeing the same here on debian sid/experimental with custom gnome-3.3.x stack. While I can't reproduce the issue with released 3.3.2 tarball, I'm encountering it with recent git snapshots. The last known good git revision was 2461439, something in commit  0bf049d429da9ee53cac4b593e95ca1288e3b855 broke the ability to reuse already opened instances of gedit.
Comment 3 jessevdk@gmail.com 2012-01-28 18:20:03 UTC
Thanks for reporting this! I caused this commit on master, which was then fixed on gnome-3-2, but I forgot to cherry-pick the final fix on master. I've just done that and the issue should be resolved on master.
Comment 4 Sebastien Bacher 2012-01-30 09:17:06 UTC
what commit fixes that? I see nothing obvious in git, is that the dbus on osx?
Comment 5 jessevdk@gmail.com 2012-01-30 14:11:48 UTC
Yes
Comment 6 Sebastien Bacher 2012-02-07 12:15:43 UTC
Reopening, the tarball rolled yesterday still have the issue...
Comment 7 Gert Kulyk 2012-02-08 19:44:17 UTC
Strange, I'm since the fix for the OSX stuff I can no longer reproduce the issue, with the newly released tarball everything seems fine her. (I'm on gnome-shell/custom gnome 3.3.x on debian, not ubuntu/unity)
Comment 8 Robert Roth 2012-07-28 11:45:03 UTC
Confirming the issue on gedit 3.4.
Comment 9 Sébastien Wilmet 2013-11-09 20:34:56 UTC
The bug should be fixed in more recent versions of gedit, that use GtkApplication.