Comment 3 for bug 802816

Revision history for this message
Sven K. (wagalaweia) wrote : Re: unity doesn't realise when applications bring their windows to the front

I just wanted to post a similar problem, but I see that it is based on the same problem described here. However, it might be even easier to reproduce this way:

#### A special test case:
1. currently, your browser window is opened (usually maximized)
2. start another application, e.g., by clicking on its dash icon, which needs some time to create and display its window (usually maximized), e.g., Thunderbird, eclipse, USC, ... whatever
3. immediately after starting the other application, click again into your browser window (or its dash icon) to give it the focus back
4. wait until the other window appears. It is shown above the browser window
5. now, you want to make the browser visible again, so click on the browser's icon in the dash. You will see, you cannot bring the browser window to front by this! You have to use Alt+Tab or you must click another icon first, and then your browser's icon again

#### General problem description:
The problem seems to be, that when clicking on an dash icon referring to an application that currently has the focus, its window is not moved to front again. It is only moved to front, when it did not have the focus before clicking on its icon.

#### Easiest Solution:
Whenever a dash icon is clicked, its associated window (incl. any child windows) should be moved to front (again), regardless of whether it had the focus before or not, or whether or not it was in the front before or not.