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 348339 - gedit does not get focus when opening more than one document
gedit does not get focus when opening more than one document
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-22 16:17 UTC by Sebastien Bacher
Modified: 2020-11-24 09:58 UTC
See Also:
GNOME target: ---
GNOME version: 3.23/3.24



Description Sebastien Bacher 2006-07-22 16:17:13 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/gedit/+bug/48097

" Also affects:  +   Upstream…    +   Distribution…

I already saw this behaviour during the dapper development phase, but it somehow got fixed with some updates. Now, some days before the dapper release, I've noticed it again.

Basically, after having open a document, opening a new one will cause gedit to remain in the background, whereas it would be expected that gedit gets the focus and is brought to the foreground.

Steps to reproduce:

1.- Open a Nautilus window.

2.- In this window, browse a folder that contains text documents.

3.- Click on a text document. The document will be opened in gedit, which will appear on the foreground.

4.- Go back to the Nautilus window and click on a second document. The document will be open in gedit, but this time in will remain in the background, while the window list bar is flashing.

Expected: gedit opens the second document and gets focus (i.e. it appears in the foreground).
..."
Comment 1 David Planella 2006-09-20 16:24:14 UTC
I can still see this behaviour in gedit 2.14.4. 

Could anyone else please confirm this?
Comment 2 Joachim Noreiko 2006-11-06 10:08:25 UTC
Confirming for 2.16.1.

Interestingly, when I open text documents from an app other than Nautilus (Meld diff viewer), Gedit comes to the foreground correctly for both the first and second documents.
Comment 3 Jon Cheyne 2007-10-25 10:21:39 UTC
gedit 2.20.3 confirmed in Ubuntu Feisty.

And agreed - it is when a file is double clicked in nautilus and gedit is already open - it doesn't have to already have a file loaded, just open. It can be either minimused or otherwise, it sill doesn't get focus.

Comment 4 Alon Zakai (kripken) 2008-03-02 09:24:23 UTC
I have seen this occur in the past, but right now on Ubuntu Hardy I can't reproduce it. I tried with minimized gedit, non-minimized, opening a single file and multiple files.
Comment 5 Joachim Noreiko 2008-03-02 09:55:15 UTC
I'm still getting this in Ubuntu 7.10.
Comment 6 Paolo Borelli 2009-12-29 10:32:05 UTC
I cannot reproduce this with newer versions and seems we didn't get further duplicates. closing.
Comment 7 Douglas 2017-08-26 20:05:48 UTC
I can reproduce this.
GNOME 3.24.x
Gedit 3.22.1

Please reactivate the report. Gedit not coming into focus when opening a second document causes frustration.
Comment 8 Strangiato 2017-09-03 14:40:42 UTC
I can reproduce this bug on Arch when gedit 3.22.1 window in background is maximized. Reopening...
Comment 9 Frederik 2019-11-10 12:07:34 UTC
I can reproduce this again after two years:

GNOME 3.30.2
GEdit 3.30.2

Debian 10 (Buster)
Comment 10 Sébastien Wilmet 2020-11-24 09:58:47 UTC
Mass-closing of all gedit bugzilla tickets.

Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing:

2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3

By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements.

We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.