[Bug 1035628] Re: Alt+Tab/Alt+grave brings other window to the front but loses focus entirely.

Timo Jyrinki timo.jyrinki at canonical.com
Wed Nov 14 06:37:51 UTC 2012


** Description changed:

+ [Impact]
+ 
+ Focus losing possibility when alt-`/alt-tab:ing.
+ 
+ [Test Case]
+ 
+ Alt+Tab doesn't lose window focus
+ ---------------------------------
+ This tests ensures that a racing condition is not possible anymore when alt+tabing.
+ 
+ Setup:
+ #. Have 2 windows of different types open. (gedit, nautilus)
+ 
+ Actions:
+ #. Press quicky Alt+Tab. (so that the switcher window is not shown)
+ #. Repeat 10 times.
+ 
+ Expected Results:
+ No window loses focuses at all. The panel should alway show the title of the window.
+ 
+ [Regression Potential]
+ 
+ Application switching in general.
+ 
+ ---
+ 
  SRU TESTCASE:
  
  1. open two terminals
  2. quickly press alt-` a couple of times so that the switcher appears
  
  What should happen:
  no matter how many times you alt-` the focus should never be lost i.e. unity panel should not look like comment#6
  
  -----Original Report-----
  Ever since upgrading to Unity 5.14.0-0ubuntu1 a few days ago, my alt+tabs have been constantly breaking. I use alt+tab quickly, fast enough to never see the switcher. The issue is that a good percentage of the time, the window is brought to the front and the focus is momentarily flickered onto the desired window but then the focus is entirely lost: Nothing is in the titlebar and any input goes nowhere.
  
  I don't recall any problems with the version previous to this update
  pushed (5.12-0ubuntu1.1)
  
  video demonstrating the bug:
  https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1035628/+attachment/3258477/+files/bug.webm
  
  Alt+` also loses focus regularly, even if there is only one window.
  
  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
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  CheckboxSubmission: 9dfa225a100a6da71689692d7002e544
  CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e
  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: Sat Aug 11 09:01:20 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1035628

Title:
  Alt+Tab/Alt+grave brings other window to the front but loses focus
  entirely.

Status in Unity:
  Fix Committed
Status in Unity 5.0 series:
  Fix Committed
Status in Unity 6.0 series:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “unity” source package in Precise:
  Confirmed

Bug description:
  [Impact]

  Focus losing possibility when alt-`/alt-tab:ing.

  [Test Case]

  Alt+Tab doesn't lose window focus
  ---------------------------------
  This tests ensures that a racing condition is not possible anymore when alt+tabing.

  Setup:
  #. Have 2 windows of different types open. (gedit, nautilus)

  Actions:
  #. Press quicky Alt+Tab. (so that the switcher window is not shown)
  #. Repeat 10 times.

  Expected Results:
  No window loses focuses at all. The panel should alway show the title of the window.

  [Regression Potential]

  Application switching in general.

  ---

  SRU TESTCASE:

  1. open two terminals
  2. quickly press alt-` a couple of times so that the switcher appears

  What should happen:
  no matter how many times you alt-` the focus should never be lost i.e. unity panel should not look like comment#6

  -----Original Report-----
  Ever since upgrading to Unity 5.14.0-0ubuntu1 a few days ago, my alt+tabs have been constantly breaking. I use alt+tab quickly, fast enough to never see the switcher. The issue is that a good percentage of the time, the window is brought to the front and the focus is momentarily flickered onto the desired window but then the focus is entirely lost: Nothing is in the titlebar and any input goes nowhere.

  I don't recall any problems with the version previous to this update
  pushed (5.12-0ubuntu1.1)

  video demonstrating the bug:
  https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1035628/+attachment/3258477/+files/bug.webm

  Alt+` also loses focus regularly, even if there is only one window.

  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
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  CheckboxSubmission: 9dfa225a100a6da71689692d7002e544
  CheckboxSystem: 2954e74ba17fb0e37fc942cd1d9fab4e
  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: Sat Aug 11 09:01:20 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1035628/+subscriptions



More information about the Ubuntu-sponsors mailing list