[SRU regression] alt-grave not switching to next window unless 'grave' pressed twice
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Unity |
Fix Released
|
High
|
Brandon Schaefer | |||
unity (Ubuntu) | ||||||
Precise |
Fix Released
|
High
|
Brandon Schaefer |
Bug Description
[Test Case]
1. Open two instances of gnome-terminal
2. Make sure one of them has focus
3. Press and hold alt+` for 1sec then release
-> Verify that the last focused application is highlighted
[Regression Potential]
No regression potential.
Original description:
unity 5.12-0ubuntu1.1 ==> Bug is not present
unity 5.14-0ubuntu1 ==> Bug PRESENT
unity 6.2-0ubuntu1 ==> Bug is not present
1. open two instances of gnome-terminal
2. make sure on of them have the focus
3. press and hold alt+` for 1sec then release the keys
What happens:
Window switcher appears but on leaving the buttons you are again brought back to the same terminal window which had the focus.
What should happen:
The focus should change to next window with the need of pressing greave(') key twice.
Aso to NOTE: if you quickly press alt-` such that the switcher does not appear, the issue won't happen.
Video of the issue: https:/
=====Original Report=====
With the latest update to 5.14.0-0ubuntu1 the application window switching shortcut is not working as expected. It should be similar to alt-tab, where just quickly pressing it once flips between the two most recent applications.
The window switching should behave the same way but for application windows, but instead pressing it quickly does nothing first because it only expands the window grid in the switcher, to actually switch to another window you have to press it at least twice.
In the previous version, 5.12, the window switching shortcut behaviour was correct (or as I expected it to be).
---
.proc.driver.
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.49 Mon Apr 30 23:46:33 PDT 2012
GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.tmp.unity.
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
DistUpgraded: 2012-04-05 18:09:37,535 DEBUG failed to SystemUnLock() (E:Not locked)
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
NVIDIA Corporation GF104 [GeForce GTX 460] [10de:0e22] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. Device [3842:1373]
NVIDIA Corporation GF104 [GeForce GTX 460] [10de:0e22] (rev a1) (prog-if 00 [VGA controller])
Subsystem: eVga.com. Corp. Device [3842:1371]
JockeyStatus:
xorg:nvidia_
xorg:nvidia_
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7512
NonfreeKernelMo
Package: unity 5.14.0-0ubuntu1
PackageArchitec
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: precise running-unity precise running-unity precise running-unity possible-
Uname: Linux 3.2.0-29-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-04-05 (128 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare video
dmi.bios.date: 02/20/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.6
dmi.board.
dmi.board.name: P45 Platinum (MS-7512)
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: MS-7512
dmi.product.
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
version.compiz: compiz 1:0.9.7.
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
- Tim Penhey (community): Approve
-
Diff: 71 lines (+23/-2)3 files modifiedplugins/unityshell/src/SwitcherModel.cpp (+4/-2)
plugins/unityshell/src/SwitcherModel.h (+2/-0)
tests/autopilot/autopilot/tests/test_switcher.py (+17/-0)
description: | updated |
summary: |
- Application window switching does not work as expected. Need to press - shortcut twice to switch. + [SRU regression] alt-grave not switching to next window unless 'grave' + pressed twice |
description: | updated |
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
no longer affects: | unity (Ubuntu) |
no longer affects: | unity/5.0 |
Changed in unity: | |
milestone: | none → 5.16.0 |
importance: | Undecided → High |
Changed in unity (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in unity: | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity (Ubuntu Precise): | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
Changed in unity: | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu Precise): | |
status: | Confirmed → In Progress |
milestone: | none → ubuntu-12.04.2 |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in unity: | |
status: | Fix Committed → Fix Released |
I cannot replicate the issue you're describing.
verified that I have the same version as you :
➜ ~ dpkg -l | grep ' unity '
dpkg -l | grep ' unity '
ii unity 5.14.0-0ubuntu Interface designed for efficiency of space a
➜ ~
I have chrome and emacs open
Alt-Tab --> emacs
Alt-Tab --> chrome
Alt-Tab --> emacs
Alt-Tab --> chrome
This seems to work as advertised, i.e 1 shortcut action per switch. The window switcher appears when I hit the Tab key with the next app hilited and dissappears when I release the Alt key. Then the focus switches to the other application.
So if I understood correctly in your case the window appears with the current hilited and you need to press an additional time on the tab to move it to the other application?