[regression] Window management - Middle clicking panel no longer focuses window behind it

Bug #1053191 reported by Brandon Schaefer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ayatana Design
Fix Committed
Medium
John Lea
Unity
In Progress
Medium
Brandon Schaefer
unity (Ubuntu)
In Progress
Medium
Brandon Schaefer

Bug Description

The autopilot test:
unity.tests.test_panel.PanelGrabAreaTests.test_lower_the_maximized_window_works

Is failing.

What should happen:
1) Open gnome-calculator
2) Open gedit, and maximize it
3) Middle click the Panel

Expected:
Gedit should fall behind the calculator and the calculator should get focus

What happens:
Gedit falls behind the calculator, but gedit keeps focus.

NEEDS-DESIGN: Upon middle-clicking panel, should the last used window get focus too?
ANSWER FROM DESIGN: When a window is sent to the back, the last used window should get focus (the testcase and expected results described above are correct)

Tags: needs-design
Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Not sure whether gcalc (in this case) should get focus, or it should stay with gedit. Marking needs-design; this should be fairly straightforward.

description: updated
tags: added: needs-design
Changed in unity:
status: New → Incomplete
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

@ Bilal

I would think the gcalc should get focus because...there was an AP test for it. Though it never hurts to double check :)

(I think any top window should always have focus, unless it is an always on top window)

description: updated
John Lea (johnlea)
description: updated
Changed in ayatana-design:
assignee: nobody → John Lea (johnlea)
importance: Undecided → Medium
Changed in unity:
importance: Undecided → Medium
Changed in ayatana-design:
status: New → Fix Committed
Changed in unity:
status: Incomplete → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
summary: - [regression] Middle clicking panel no longer focuses window behind it
+ [regression] Window management - Middle clicking panel no longer focuses
+ window behind it
John Lea (johnlea)
Changed in unity (Ubuntu):
importance: Undecided → Medium
description: updated
Changed in unity:
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity (Ubuntu):
assignee: nobody → Brandon Schaefer (brandontschaefer)
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
Changed in unity:
milestone: none → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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