Window focus behavior after alt-tabbing erratic after recent upgrade

Bug #1047028 reported by Daniel Manrique
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After a recent (~1-2 weeks) update of Unity, window focusing behavior after alt-tabbing has been somewhat erratic. I often switch between two windows, doing a quick alt-tab press, expecting the new window to both be raised and focused. However, a lot of the time, the window is not focused (indeed, nothing is; I tested this by having only two windows open and they are both greyed as inactive, so I really don't know where my keypresses are going).

 This is annoying and breaks my workflow because I have to either slowly alt-tab ensuring that the desired window is focused, then let go, or just click on it with the mouse.

Steps to reproduce:
- Close all applications
- Open Firefox
- Open gnome-terminal
- Quickly alt-tab to go back to Firefox
- Quickly alt-tab to alternate between the two windows

Expected results:
- The inactive window is raised and focused when alt-tabbing.

Actual results:
- Sometimes the window is raised but not focused.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.14.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
Date: Thu Sep 6 16:10:18 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel Manrique (roadmr) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

Here's a screencast video showing the erratic behavior, I loaded screenkey so you can see what I'm actually pressing. Note how sometimes it switches to Firefox or the terminal, it grabs focus for an instant, then loses it.

http://people.canonical.com/~roadmr/unity-desktop.ogv

Revision history for this message
Omer Akram (om26er) wrote :

that's one of the regressions that came in through our last SRU of Unity, I for example am not able to reproduce the issue. Once we have this one easily reproducible we'll get it fixed :/ (I am going to login to 12.04 and see if i can reproduce it without steps.)

Anyways, its duplicate of bug 1035628

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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