application reopens itself when last instance is closed from windows/application switcher
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Brandon Schaefer | ||
5.0 |
Fix Released
|
Medium
|
Brandon Schaefer | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
TEST CASE
1. Launch an application (nautilus, gedit, gcalctool, ...)
2. Activate the windows switcher (ALT+Grave) and select the window
3. Keep ALT pressed and close it with the keyboard shortcut ALT+F4
4. Release ALT to close the switcher
ACTUAL RESULT:
The application reopens. Same result if the application is closed from the application switcher
EXPECTED RESULTS
It should stay closed.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.2.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-12-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CompizPlugins: [core,bailer,
Date: Sat Feb 4 00:16:36 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Andrea Azzarone (community): Approve
- Thomi Richards (community): Approve (quality)
-
Diff: 202 lines (+69/-4)7 files modifiedlauncher/SwitcherController.cpp (+13/-0)
launcher/SwitcherController.h (+2/-0)
launcher/SwitcherModel.cpp (+1/-1)
plugins/unityshell/src/unityshell.cpp (+27/-0)
plugins/unityshell/src/unityshell.h (+5/-0)
tests/autopilot/unity/tests/test_switcher.py (+18/-2)
unity-shared/UBusMessages.h (+3/-1)
- Thomi Richards (community): Approve (quality)
-
Diff: 199 lines (+69/-5)6 files modifiedplugins/unityshell/src/SwitcherController.cpp (+17/-4)
plugins/unityshell/src/SwitcherController.h (+2/-0)
plugins/unityshell/src/UBusMessages.h (+3/-1)
plugins/unityshell/src/unityshell.cpp (+27/-0)
plugins/unityshell/src/unityshell.h (+5/-0)
tests/autopilot/autopilot/tests/test_switcher.py (+15/-0)
summary: |
- application reopens itself when last instance is closed from windows - switcher + application reopens itself when last instance is closed from + windows/application switcher |
description: | updated |
Changed in unity (Ubuntu): | |
assignee: | nobody → Jason Smith (jassmith) |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | none → 5.6.0 |
assignee: | nobody → Jason Smith (jassmith) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in unity (Ubuntu): | |
status: | New → Triaged |
milestone: | none → ubuntu-12.04-beta-1 |
Changed in unity (Ubuntu): | |
milestone: | ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2 |
Changed in unity: | |
milestone: | 5.6.0 → 5.8.0 |
Changed in unity: | |
milestone: | 5.8.0 → 5.10.0 |
Changed in unity (Ubuntu): | |
milestone: | ubuntu-12.04-beta-2 → ubuntu-12.04 |
Changed in unity: | |
milestone: | 5.10.0 → 5.12.0 |
Changed in unity: | |
milestone: | 5.12.0 → 5.14.0 |
Changed in unity: | |
assignee: | Jason Smith (jassmith) → nobody |
Changed in unity (Ubuntu): | |
assignee: | Jason Smith (jassmith) → nobody |
Changed in unity: | |
assignee: | nobody → Brandon Schaefer (brandontschaefer) |
status: | Triaged → In Progress |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity: | |
milestone: | 5.14.0 → 6.0 |
Changed in unity (Ubuntu): | |
status: | Triaged → Fix Committed |
milestone: | ubuntu-12.04 → none |
Changed in unity: | |
status: | Fix Committed → Fix Released |
I believe Alt+F4 closes the window that had focus when you opened the switcher, not the currently selected app in the switcher.
I think that either Alt+F4 needs to be intercepted and thrown away when the switcher is open, or it needs to close the currently selected app in the switcher.