Active windows loses focus after returning from HUD if another "Always on top" window is present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Christopher Townsend | ||
7.2 |
Fix Committed
|
Medium
|
Christopher Townsend | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Christopher Townsend | ||
Trusty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Active window looses focus after returning from HUD if "Always on top" window like VLC is already running. The focus is given to VLC instead of the window on which HUD was invoke.
How to reproduce?
1. Open vlc and set it always on top
2. Open nautilus, try to rename a file using hud
3. As soon as rename option is pressed on hud, nautilus looses its focus and the focus is given to VLC.
4. To rename I have to re-select nautilus
[Test Case]
1. Open vlc and set it always on top
2. Open nautilus, try to rename a file using hud
3. Make sure that when the hud closes, nautilus is focused.
[Regression Potential]
None.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity 7.2.2+14.
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
.tmp.unity.
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Sun Sep 7 23:05:07 2014
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
i915-3.15-3.13, 0.01, 3.13.0-19-generic, x86_64: installed
i915-3.15-3.13, 0.01, 3.13.0-24-generic, x86_64: installed
GraphicsCard:
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device [144d:c652]
InstallationDate: Installed on 2014-04-13 (146 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Beta amd64 (20140326)
Lsusb:
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0ac8:c349 Z-Star Microelectronics Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: SAMSUNG ELECTRONICS CO., LTD. 300E4C/
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/07/2012
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P03RAC
dmi.board.
dmi.board.name: NP300E5X-A04IN
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: 300E4C/
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
version.compiz: compiz 1:0.9.11.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.54-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Sun Sep 7 22:23:30 2014
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 5539
vendor CMO
xserver.version: 2:1.15.1-0ubuntu2
Related branches
- Marco Trevisan (Treviño): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+2/-0)1 file modifiedhud/HudController.cpp (+2/-0)
- Andrea Azzarone (community): Approve
-
Diff: 1554 lines (+547/-141)43 files modifiedCMakeLists.txt (+1/-1)
ChangeLog (+182/-0)
UnityCore/GLibDBusProxy.cpp (+16/-3)
UnityCore/GnomeSessionManager.cpp (+6/-1)
dash/DashController.cpp (+2/-0)
dash/DashController.h (+0/-1)
dash/DashView.cpp (+72/-32)
dash/DashView.h (+3/-3)
dash/PlacesGroup.cpp (+13/-2)
dash/PlacesGroup.h (+1/-0)
dash/ResultView.cpp (+25/-0)
dash/ResultView.h (+6/-4)
dash/ResultViewGrid.cpp (+29/-13)
dash/ScopeView.cpp (+20/-22)
dash/ScopeView.h (+2/-0)
debian/changelog (+51/-0)
decorations/DecoratedWindow.cpp (+5/-0)
decorations/DecoratedWindow.h (+1/-0)
decorations/DecorationsManager.cpp (+5/-1)
hud/HudButton.cpp (+0/-5)
hud/HudController.cpp (+2/-0)
hud/HudController.h (+0/-1)
launcher/DeviceNotificationDisplayImp.cpp (+0/-1)
launcher/LauncherController.cpp (+2/-2)
launcher/LauncherIcon.cpp (+9/-4)
panel/PanelView.cpp (+18/-0)
panel/PanelView.h (+1/-0)
plugins/unityshell/src/unityshell.cpp (+16/-2)
plugins/unityshell/unityshell.xml.in (+6/-0)
unity-shared/BGHash.cpp (+5/-2)
unity-shared/CompizUtils.cpp (+0/-3)
unity-shared/OverlayRenderer.cpp (+2/-0)
unity-shared/OverlayScrollView.cpp (+5/-1)
unity-shared/OverlayScrollView.h (+2/-0)
unity-shared/OverlayWindowButtons.cpp (+3/-3)
unity-shared/PlacesOverlayVScrollBar.cpp (+5/-0)
unity-shared/PlacesOverlayVScrollBar.h (+8/-6)
unity-shared/PluginAdapter.cpp (+5/-1)
unity-shared/SearchBar.cpp (+9/-23)
unity-shared/SearchBar.h (+1/-3)
unity-shared/UnitySettings.cpp (+6/-1)
unity-shared/UnitySettings.h (+1/-0)
unity-shared/WindowButtons.cpp (+1/-0)
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity (Ubuntu): | |
assignee: | nobody → Andrea Azzarone (andyrock) |
Changed in unity: | |
milestone: | none → 7.3.1 |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity: | |
status: | In Progress → Triaged |
Changed in unity (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in unity: | |
milestone: | 7.3.1 → 7.3.2 |
summary: |
- Active windows looses focus after returning from HUD if another "Always + Active windows loses focus after returning from HUD if another "Always on top" window is present |
Changed in unity: | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | 7.3.2 → 7.3.3 |
Changed in unity: | |
assignee: | Andrea Azzarone (azzar1) → Christopher Townsend (townsend) |
Changed in unity (Ubuntu): | |
assignee: | Andrea Azzarone (azzar1) → Christopher Townsend (townsend) |
Changed in unity: | |
status: | Triaged → In Progress |
Changed in unity (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity: | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in unity: | |
status: | Fix Committed → Fix Released |
Changed in unity (Ubuntu Trusty): | |
importance: | Undecided → Medium |
This bug was fixed in the package unity - 7.3.2+15. 10.20150512- 0ubuntu1
--------------- 15.10.20150512- 0ubuntu1) wily; urgency=medium
unity (7.3.2+
[ Chris Townsend ]
* Add new signal to tell the Launcher to terminate keynav mode and use
that signal when a BFB quicklist item is chosen. (LP: #1052024,
#1444643)
* Add option to enable and disable Unity low graphics mode on the fly
in ccsm or via gsettings. (LP: #1412937)
* Remove code that is no longer needed and broke opening application
spread while in Launcher keynav mode. (LP: #1445082)
* Save the active window when showing the Dash so the correct window
is focused when hiding the Dash. Fixes issue when "Always on Top"
windows are present. (LP: #1446634)
* Save the active window when showing the Hud so the correct window is
focused when hiding the Hud. Fixes issue when "Always on Top"
windows are present. (LP: #1366583)
* Send signal to ensure the Dash will show when entering keynav mode
since the first icon always highlighted is the BFB. (LP: #1444113)
* When looking for the top-most valid window in a VP, also check if
the window is focused if the window is set to Always on Top. This
allows Launcher icon spread to work properly when a window is
minimized an Always on Top exists in the group. (LP: #1131385)
* When using the left arrow to exit a Quicklist, Launcher keynav is
implied and should be active regardless of how the Quicklist was
opened. (LP: #1444626)
[ Eleni Maria Stea ]
* The skydome rendering of the cube plugin was wrong with unity
because transformation matrices set by the unityshell plugin were
left in the opengl matrix stacks affecting other compiz plugins.
Saving the compiz state at the beginning of the unityshell plugin
rendering functions and restoring it at the end of them fixes the
problem. (LP: #1446165)
-- CI Train Bot <email address hidden> Tue, 12 May 2015 13:10:15 +0000