alt+backtick doesn't focus on selected one of many windows previously clicked

Bug #1412001 reported by Shahbaz Youssefi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Low
Marco Trevisan (Treviño)
7.2
Triaged
Low
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Low
Marco Trevisan (Treviño)

Bug Description

This a user experience issue and easily reproducible.

Open multiple instances of your favorite application. Then click on Unity's icon for the app when you are already focused on one instance of it. This opens up a tile of the instances of the application which you can select from with the mouse.

Now while that tile is shown, use ATL+backtick to select the window you want instead of clicking with the mouse. The result is that the tile window doesn't go away.

If you use ALT+backtick and switch to ALT+tab (or start from ALT+tab from the start) and select another kind of application, then the tile goes away correctly and the other application comes in the front.

I can verify that the window you would select with ALT+backtick does actually get to the top of the view and is marked as the "last visited instance", because if you switch to another application (using ALT+tab) and click back on the group of the original application you would see the one you previously selected with ALT+backtick.

---

Here are step-by-step instructions.

- Open a couple of terminals
- Open firefox
- Click on the terminal icon
  * This should open a tile showing the various terminal windows you have open
  * If that doesn't happen, click again (you were not on a terminal window before)
- Use ALT+backtick to select one of the terminal windows

Expected behavior: The tile of terminals goes away and the selected terminal is focused

Observed behavior: The tile of terminals stays on the screen

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: unity 7.3.1+14.10.20141016-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,place,grid,mousepoll,compiztoolbox,vpswitch,regex,gnomecompat,imgpng,snap,move,unitymtgrabhandles,resize,session,wall,animation,workarounds,fade,expo,scale,ezoom,unityshell]
CurrentDesktop: Unity
Date: Sat Jan 17 16:32:05 2015
ExecutablePath: /usr/bin/compiz
ProcEnviron:
 PATH=(custom, no user)
 LANGUAGE=en_US
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to utopic on 2014-11-01 (76 days ago)

Tags: unity utopic

Related branches

Revision history for this message
Shahbaz Youssefi (shabbyx) wrote :
Changed in unity:
status: New → Triaged
Changed in unity (Ubuntu):
status: New → Triaged
Andrea Azzarone (azzar1)
Changed in unity:
importance: Undecided → Medium
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Thanks for the report.... I guess the actual solution would be to close the spread instead.

Of course we might even select the right window, but this seems like it's an edge the case where the user actually wants to just use the Alt+`

Changed in unity:
milestone: none → 7.3.1
Revision history for this message
Shahbaz Youssefi (shabbyx) wrote :

Exactly. It happened for me when I clicked on the terminal icons by mistake, while at (almost) the same time I used ALT+` for switching windows the way I usually do.

I agree that simply closing the spread (which I called "tile" in the OP) is the solution. This is what happens when ALT+TAB is used to switch to whole other program, and it was as I had expected.

Changed in unity (Ubuntu):
importance: Undecided → Low
Changed in unity:
assignee: nobody → Andrea Azzarone (andyrock)
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.1 → 7.3.2
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.2 → 7.3.3
Revision history for this message
Christopher Townsend (townsend) wrote :

Hey Andrea,

I'm going to take a stab at this. If you already have a fix, then let me know so I don't wast e too much time:)

Changed in unity:
importance: Medium → Low
assignee: Andrea Azzarone (azzar1) → Christopher Townsend (townsend)
Changed in unity (Ubuntu):
assignee: nobody → Christopher Townsend (townsend)
Changed in unity:
status: Triaged → In Progress
Changed in unity (Ubuntu):
status: Triaged → In Progress
Changed in unity:
assignee: Christopher Townsend (townsend) → Marco Trevisan (Treviño) (3v1n0)
Changed in unity (Ubuntu):
assignee: Christopher Townsend (townsend) → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.3.2+15.04.20150410.1-0ubuntu1

---------------
unity (7.3.2+15.04.20150410.1-0ubuntu1) vivid; urgency=medium

  [ Brandon Schaefer ]
  * When we get a launcher key press (ie. super key). We check if the
    command lens is open. If it is then just switch the lens to the home
    lens. This way we dont close the dash. (LP: #1108956)

  [ CI Train Bot ]
  * New rebuild forced.

  [ Gerry Boland ]
  * SwitcherController: add first selection mode property, to decide
    what to select at first (LP: #998285)

  [ Marco Trevisan (Treviño) ]
  * SwitcherController: add first selection mode property, to decide
    what to select at first (LP: #998285)
  * UnityScreen: terminate spread if active when initiating Switcher
    (LP: #1412001)

  [ Stephen M. Webb ]
  * (Ubuntu packaging) move the session migration scripts to Python3
    (LP: #1440560)
  * fixed the Panel title string expected by Launcher keynav AP tests
    (LP: #1435830)
  * test_wm_keybindings: fix AP failures caused by upstream Compiz
    change (LP: #1294864)
 -- CI Train Bot <email address hidden> Fri, 10 Apr 2015 21:59:12 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Changed in unity:
status: In Progress → Fix Committed
Changed in unity:
status: Fix Committed → Fix Released
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.