Comment 11 for bug 796513

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

I don't know if there is the same bug, as this one is marked fixed, but in Precise I still got the problem of good window focus when 2 instances of a program are opened but not focused, one of them is not maximized and the 2 come in foreground.

It happens with Gpodder, Synaptic, Update Manager, Thundebird and when something occurs which opens a new smlall window (podcast updates available, when Synaptic finished downloading and gebins installing, Lightning alert...).

Some examples and screenshots :

I run a program, ie Firefox, in a maximized window, triangle in the right side of Unity dock, which indicates the focused application, is well put on Firefox icon.

If, just before switching to Firefox, I've run Update Manager or Synaptic to download some packages, manually switched to Firefox, at the time downloads (or update verification) are finished and packages begin to install (or if there is a partial update available), Synaptic (or Update Manager) comes himself in foreground (without I click on its icon).

In Synaptic (which has its left triangle in Unity icon blue) I click to close the unmaximized update window, so it leaves normal Synaptic maximized window in foreground.

But the right triangle remains on Firefox icon, which has the focus. So, a click on Firefox icon to go back on Firefox does not do anything, as default behavior in Unity, when an application is selected, is that click on its icon does nothing.

So I have to manually click somewhere in the Synaptic window (to focus Synaptic) or to an icon other than Firefox to select this program, and again click to Firefox icon to come back to Firefox !

Other problem, global menu is the one from Firefox, and if I click on the left"X" icon to close Synaptic, it's Firefox which closes as it is focused...

But, with Synaptic in foreground, if I press "Imp Ecr" to do a printscreen, then "enter" to validate the saving, printscreen & confirmation window disappear, and then I'm well back to Firefox with focus, no more Synaptic in foreground...

These ones above are still bugs present.

But the following problem is well fixed and corrected :

- I have Firefox and Bookmarks manager opened, so 2 windows for Firefox, both maximized, and I'm on the navigation widow.

I open gedit, maximized, it appears on front and takes the focus, I write on it, let it opened and go back to Firefox navigation window with one left click to Firefox icon in Unity dock.

Here, if I minimize Firefox with the "-" button in global menu, I see on the screen the maximized window of Firefow Bookmark Manager, but the focus (and right triangle on dock), has gone to gedit.

If I click to gedit icon, nothing happens, which is normal, it has the focus. If I click on the Firefox icon or everywhere in the window of Bookmark Manager, focus goes back to Firefox Window Manager...

I hope it helps.