Switching windows in Unity fails to bring program to foreground
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Fix Released
|
High
|
Andrea Azzarone | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This bug has been, well, bugging me for a while. It was hard to reproduce but I have finally found a way to reproduce it. I think there is more than one way of reproducing this bug.
[Impact]
After activating the "Show Desktop" mode switching windows using the scale plugin fails to properly bring the correct window to foreground.
[Test Case]
Here is what worked for me.
Three Gnome Terminals open, and Chromium.
Click on "Show Desktop" or ALT-TAB to "Show Desktop".
Now Click On Terminal in the Unity Launcher, and it will bring up the last active terminal.
Click on the Terminal again, and you will be presented with a selection window to pick one of three terminals.
Pick anything other than the active terminal.
The new active terminal will come to the foreground, and immediately disappear.
The old active terminal will remain on the screen.
This bug has been present since at least Ubuntu 14.10.
[Possible Regressions]
Nothing known.
Thank you.
Related branches
- Marco Trevisan (Treviño): Approve
- PS Jenkins bot: Pending (continuous-integration) requested
-
Diff: 69 lines (+19/-1)2 files modifiedplugins/unityshell/src/unityshell.cpp (+14/-1)
plugins/unityshell/src/unityshell.h (+5/-0)
- Andrea Azzarone (community): Approve
-
Diff: 3147 lines (+1049/-409)58 files modifiedUnityCore/GnomeSessionManager.cpp (+2/-1)
com.canonical.Unity.gschema.xml (+38/-0)
dash/DashController.cpp (+6/-2)
dash/DashView.cpp (+14/-10)
dash/StandaloneDash.cpp (+1/-1)
dash/previews/PreviewContainer.cpp (+35/-76)
dash/previews/PreviewContainer.h (+4/-9)
dash/previews/StandaloneApplicationPreview.cpp (+5/-0)
dash/previews/StandaloneErrorPreview.cpp (+5/-0)
dash/previews/StandaloneMoviePreview.cpp (+5/-0)
dash/previews/StandaloneMusicPaymentPreview.cpp (+5/-0)
dash/previews/StandaloneSocialPreview.cpp (+5/-0)
debian/changelog (+47/-0)
debian/unity7.conf (+11/-6)
hud/HudController.cpp (+5/-2)
launcher/ApplicationLauncherIcon.cpp (+2/-4)
launcher/ApplicationLauncherIcon.h (+3/-0)
launcher/CairoBaseWindow.cpp (+6/-2)
launcher/FileManagerLauncherIcon.cpp (+8/-0)
launcher/Launcher.cpp (+44/-32)
launcher/LauncherController.cpp (+2/-6)
launcher/LauncherControllerPrivate.h (+0/-1)
launcher/SwitcherController.cpp (+6/-1)
launcher/SwitcherView.cpp (+3/-0)
launcher/VolumeImp.cpp (+4/-1)
lockscreen/CMakeLists.txt (+1/-0)
lockscreen/LockScreenAcceleratorController.cpp (+167/-148)
lockscreen/LockScreenAcceleratorController.h (+8/-3)
lockscreen/LockScreenAccelerators.cpp (+5/-0)
lockscreen/LockScreenAccelerators.h (+3/-1)
lockscreen/LockScreenButton.cpp (+148/-0)
lockscreen/LockScreenButton.h (+70/-0)
lockscreen/LockScreenController.cpp (+9/-3)
lockscreen/LockScreenController.h (+3/-1)
lockscreen/UserAuthenticatorPam.cpp (+14/-5)
lockscreen/UserPromptView.cpp (+113/-13)
lockscreen/UserPromptView.h (+9/-1)
panel/PanelView.cpp (+16/-11)
plugins/unityshell/src/UnityShowdesktopHandler.cpp (+4/-3)
plugins/unityshell/src/unityshell.cpp (+40/-20)
plugins/unityshell/src/unityshell.h (+6/-0)
shortcuts/ShortcutController.cpp (+7/-1)
shutdown/SessionController.cpp (+7/-2)
tests/test_lockscreen_controller.cpp (+8/-4)
unity-shared/BGHash.cpp (+6/-1)
unity-shared/BGHash.h (+1/-1)
unity-shared/BackgroundEffectHelper.cpp (+1/-1)
unity-shared/DashStyle.cpp (+39/-0)
unity-shared/DashStyle.h (+5/-0)
unity-shared/GnomeKeyGrabber.cpp (+32/-6)
unity-shared/GnomeKeyGrabberImpl.h (+8/-1)
unity-shared/KeyGrabber.h (+4/-0)
unity-shared/OverlayRenderer.cpp (+6/-6)
unity-shared/PlacesOverlayVScrollBar.cpp (+2/-1)
unity-shared/SpreadFilter.cpp (+5/-1)
unity-shared/UnitySettings.cpp (+29/-18)
unity-shared/UnitySettings.h (+6/-2)
unity-shared/UnityWindowView.cpp (+1/-1)
Changed in unity (Ubuntu): | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Andrea Azzarone (azzar1) |
tags: | added: desktop-trello-import |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Added to Trello: https:/ /trello. com/c/NWGPLRxZ/ 6-bug-1582056- switching- windows- in-unity- fails-to- bring-program- to-foreground