Unity panel shows global menu for the wrong window

Reported by Mar-castelluccio on 2011-10-25
126
This bug affects 30 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Undecided
Unassigned
One Hundred Papercuts
Undecided
Unassigned
Unity
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

I'll explain with an example.
I've an instance of Firefox running and an instance of Synaptic running.

If the focus is on Firefox and when I switch to Synaptic there is a modal dialog, when I close the modal dialog I'll see Synaptic but with the Firefox global menu.
I think the focus is given to the modal dialog, so when this is closed, the focus returns to the previous owner, that is Firefox in this case. Instead it should be given to the window currently on the screen (infact sometimes I close an application while I think I'm closing another one).

I think this happens only with modal dialogs, but I'm unsure.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Omer Akram (om26er) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions:

* Is this reproducible?
* If so, what specific steps should we take to recreate this bug?

This will help us to find and resolve the problem.

Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Changed in unity:
status: New → Incomplete

Omer, it is reproducible. My description contains the steps to recreate the bug.

Note that the same thing happens with other applications, Firefox and Synaptic were only an example.

Timothy Arceri (t-fridey) wrote :

To reproduce:

Open the preferences dialog in Synaptic. Then alt-tab to firefox. Then alt-tab back to Synaptic. Close the Preferences dialog. Now Firefox has control of the global menu instead of Synaptic.

Changed in unity:
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
Changed in hundredpapercuts:
status: New → Confirmed
Giorgio Wicklein (giowck) wrote :

Yes I can confirm this. With the steps Timothy provided, you will be able to reproduce this.

Now I understand why sometimes when hitting the close button the wrong application quits.

Maybe bug 802816 fixed this. I need to check.

summary: - Unity global menu problem with (modal) dialogs
+ Unity panel shows global menu for the wrong window
Changed in unity:
milestone: none → 5.16.0
Daniel van Vugt (vanvugt) wrote :

I think you're right. I can't reproduce the bug with Unity 5.12. Assuming it's a duplicate of bug 802816.

Changed in unity:
milestone: 5.16.0 → none
Chris Wilson (notgary) on 2012-06-10
Changed in hundredpapercuts:
milestone: none → quantal-5-unity
Chris Wilson (notgary) on 2012-10-22
Changed in hundredpapercuts:
milestone: quantal-5-unity → raring-round-3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers