Keyboard focus isn't always on foreground window when intended

Bug #830602 reported by James Haigh
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Incomplete
Undecided
Unassigned
unity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Sometime keystrokes and shortcuts are sent to a background window. If the foreground window is maximised, this gives the initial impression that the foreground window is unresponsive, then you realise that you've just ____ed up a background window!

This occurs if a window appears while holding Alt-Tab, and the Static Application Switcher is cancelled with Esc before Alt-Tab is released. The new window is in the foreground but without focus, and the window that previously had focus still has.

This is particularly bad if the new window is maximised due to bug #830598.

Steps to reproduce:
* Open a window.
* Launch 'Take Screenshot'.
* Set a delay and click 'Take Screenshot'
* Hold Alt-Tab.
* Wait for the timer to finish (The top-left corner of your screen will go light-blue).
* Press Esc (While still holding Alt-Tab).
The 'Save Screenshot' window will be in the forground but not active. Even clicking on the background window will not bring it forward.

Revision history for this message
James Haigh (james.r.haigh) wrote :

In some cases this is intended, such as 'Always On Top'.

summary: - Keyboard focus isn't always on foreground window
+ Keyboard focus isn't always on foreground window when intended
Revision history for this message
Omer Akram (om26er) wrote :

thats because when alt-tab swither is active it grabs the keyboard and as soon as escape is pressed switcher does its job i.e. switch to the app it is told to. I dont think it as a bug

Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Alex Baggott (alex-baggott) wrote :

Thank you for taking the time to report this bug. Unfortunately, we can’t work out how to recreate this bug from your description. Please describe the process you go through to trigger this bug and then change the bug status to NEW. See this page for more information: https://wiki.ubuntu.com/BigDesktopBugScrub

Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Changed in unity:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in unity (Ubuntu):
status: Incomplete → Expired
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.