gedit does not get focus when opening more than one document

Bug #48097 reported by David Planella
24
Affects Status Importance Assigned to Milestone
gedit
Confirmed
Medium
gedit (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

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).

Revision history for this message
Steven Harms (sharms) wrote :

Using the most current version of Dapper this behavior does not exist. If it happens again reopen this bug, but I tested it for a good 20 minutes with different file types, directorys, and combinations of left clicking and right clicking.

Changed in gedit:
status: Unconfirmed → Rejected
Revision history for this message
David Planella (dpm) wrote :

Steven,

You are right, the bug does not seem to occur anymore. I don't know which updates fixed the issue, but it must have been quite recent, since I clearly remember seeing the behaviour described on my original post at least one or two weeks ago.

Since I don't know what fixed it and, as I said, something like that also happened during Dapper development (i.e. focus issues started appearing, were fixed at some point and appeared again later), I'll keep an eye on this. But hopefully this bug won't have to be reopen.

Thanks for noticing this.

Revision history for this message
David Planella (dpm) wrote :

Bug reopened. Some recent updates seemed to bring back this issue:

Changed in gedit:
status: Rejected → Unconfirmed
Revision history for this message
David Planella (dpm) wrote :

I forgot to add that I'm talking of the dapper package.

This bug is very easy to test, could someone please confirm this?

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

Thanks for your bug. I've forwarded it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=348339

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Medium → Low
status: Unconfirmed → Confirmed
Changed in gedit:
status: Unknown → Unconfirmed
Revision history for this message
magilus (magilus) wrote :

Seems to be fixed in Edgy for me..

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

That's still happening on feisty, maybe you use a different window manager like compiz?

Revision history for this message
David Planella (dpm) wrote :

And also still happening on Edgy (w/ Metacity), too.

Revision history for this message
magilus (magilus) wrote :

I can reproduce it with Metacity in Feisty now.

Revision history for this message
magilus (magilus) wrote :

It is possible that bug 33840 is caused by the metacity issue, too.

Revision history for this message
magilus (magilus) wrote :

At the second look, it does not seem so. Although this bug does not appear in openSuSE, bug 33840 does.

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

does openSuSe use compiz?

Revision history for this message
magilus (magilus) wrote :

No, not by default AFAIK..

Revision history for this message
Eric Lake (ericlake) wrote :

I just tried to reproduce the bug on an install of feisty and did not see it. When I open the second file gedit received focus. I am not running compiz on this install.

Changed in gedit:
status: Confirmed → Triaged
Revision history for this message
Joncheyne (joncheyne) wrote :

I am seeing this on Gutsy. Gedit 2.20.3

It happens specifically when launching files from Nautilus. Gnome-Launch-Panel or alt-f2 both make Gedit the foregound ok.

Revision history for this message
Steven Harms (sharms) wrote :

Running Gutsy with gedit 2.20.1-0ubuntu3
  -- Cannot reproduce from desktop nor nautilus file browser.

Is this still an issue?

Revision history for this message
Joncheyne (joncheyne) wrote : Re: [Bug 48097] Re: gedit does not get focus when opening more than one document

just tried, it seems fine.

Jon

On 01/04/2008, Steven Harms <email address hidden> wrote:
> Running Gutsy with gedit 2.20.1-0ubuntu3
> -- Cannot reproduce from desktop nor nautilus file browser.
>
> Is this still an issue?
>
>
> --
> gedit does not get focus when opening more than one document
> https://bugs.launchpad.net/bugs/48097
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Will Morris (snow-open-ski) wrote :

This bug doesn't seem to be an issue. If no one has any issues with it I will close it. If you do please let me know and I will reopen it.

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Closing the bug as no one seems to suffer from this bug anymore. Thanks for reporting.

Changed in gedit (Ubuntu):
status: Triaged → Invalid
Changed in gedit:
importance: Unknown → Medium
status: New → Expired
Changed in gedit:
status: Expired → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.