GNOME Bugzilla – Bug 348339
gedit does not get focus when opening more than one document
Last modified: 2020-11-24 09:58:47 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). ..."
I can still see this behaviour in gedit 2.14.4. Could anyone else please confirm this?
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.
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.
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.
I'm still getting this in Ubuntu 7.10.
I cannot reproduce this with newer versions and seems we didn't get further duplicates. closing.
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.
I can reproduce this bug on Arch when gedit 3.22.1 window in background is maximized. Reopening...
I can reproduce this again after two years: GNOME 3.30.2 GEdit 3.30.2 Debian 10 (Buster)
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.