Unity panel shows global menu for the wrong window

Bug #881707 reported by Mar-castelluccio on 2011-10-25
130
This bug affects 31 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Undecided
Unassigned
Unity
Incomplete
Undecided
Unassigned
unity (Ubuntu)
Medium
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
Seth Johnson (sethj) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in unity (Ubuntu):
status: Confirmed → Invalid
Changed in unity:
status: Confirmed → Invalid
Seth Johnson (sethj) on 2015-09-16
Changed in hundredpapercuts:
status: Confirmed → Invalid
Changed in ayatana-design:
status: New → Invalid
Kai Mast (kai-mast) wrote :

I have a problem like this in wily. Sometimes the global menu is not the menu of the focused window.

This seems to happen when one of the applications if maximized and the focused application isn't.

Changed in unity:
status: Invalid → Confirmed
Changed in unity (Ubuntu):
status: Invalid → Confirmed
tags: added: wily
Changed in unity (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
importance: Undecided → Medium
no longer affects: hundredpapercuts
Rodrigo (rodhos-hp) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu, but cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu, please comment on why that is the case and change the bug status to NEW.

I've tried with one application maximized and still cannot reproduce this bug. Please add some additional info or a video showing the problem.

Rodrigo (rodhos-hp) on 2015-11-14
Changed in unity:
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
monkeybrain2012 (kammon101) wrote :

yes I can confirm that this is still present in wily. But only manifest if switch applications with the scale plugin + hot corner method and both applications are maximized and use local menu.

monkeybrain2012 (kammon101) wrote :

Ok. Figured it out. It is my fault. I have been playing with unity-tweak tool and set Window Manager > Additional > Window focus mode to "sloppy", changed back to "click" now it works as before. Sorry for the false alarm.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers