focus goes to the wrong window on multi window applications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
compiz (Ubuntu) |
Fix Released
|
Medium
|
Andrea Azzarone | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce on Ubuntu 15.04:
1 - Install eclipse with "apt-get install eclipse"
2 - Start eclipse
3 - Create a new project
4 - Create a file in the newly created project
5 - Detach any view (the task view , for example)
6 - Open the created file, or just focus on its editor
7 - Open any modal dialog (resources dialog for example (ctrl + shift + r))
8 - Close the dialog (ESC)
Expected:
- Focus goes back to the main window.
What happens:
- Focus goes to the detached view.
I think this is a unity bug because I did the same test under Fedora 22 (Gnome 3), Lubuntu and Kubuntu and all of them presented the expected behaviour.
Also, while I was editing some screenshots using gimp in multi window mode, something even stranger happened:
After doing step 8 on eclipse, the focus did not even go to eclipse, it went to one of the gimp windows.
Also I tried to disable all compiz plugins that unity does not depend on, but the behaviour kept the same.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: unity 7.3.2+15.
ProcVersionSign
Uname: Linux 3.19.0-18-generic x86_64
.tmp.unity.
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Thu May 28 10:14:49 2015
DistUpgraded: 2015-05-07 19:41:01,746 DEBUG enabling apt cron job
DistroCodename: vivid
DistroVariant: ubuntu
DkmsStatus:
virtualbox, 4.3.26, 3.19.0-16-generic, x86_64: installed
virtualbox, 4.3.26, 3.19.0-18-generic, x86_64: installed
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1002:6779] (prog-if 00 [VGA controller])
Subsystem: Dell Radeon HD 6450 [1028:2120]
InstallationDate: Installed on 2015-05-07 (20 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: Dell Inc. OptiPlex 7010
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: unity
UpgradeStatus: Upgraded to vivid on 2015-05-07 (20 days ago)
dmi.bios.date: 06/10/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A14
dmi.board.name: 0XJT3J
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 7010
dmi.product.
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-2
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Thu May 28 08:47:13 2015
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.17.1-0ubuntu3
xserver.
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 31 lines (+1/-14)1 file modifiedsrc/screen.cpp (+1/-14)
- Andrea Azzarone: Approve
-
Diff: 268 lines (+76/-40)9 files modifiedcompizconfig/gsettings/gsettings_backend_shared/ccs_gsettings_interface_wrapper.c (+27/-3)
compizconfig/gsettings/gsettings_backend_shared/gsettings_util.c (+12/-11)
compizconfig/gsettings/gsettings_backend_shared/gsettings_util.h (+1/-1)
compizconfig/gsettings/tests/test_gsettings_tests.cpp (+3/-3)
debian/00_remove_obsolete_plugins_in_unity_session_v3.py (+13/-6)
debian/changelog (+16/-0)
debian/compiz-gnome.migrations (+1/-1)
plugins/expo/src/expo.cpp (+2/-1)
src/screen.cpp (+1/-14)
tags: | added: eclipse gimp |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- focus goes to the wrong window after a modal dialog is closed + focus goes to the wrong window on multi window applications |
no longer affects: | unity |
no longer affects: | unity (Ubuntu) |
Changed in compiz (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Andrea Azzarone (azzar1) |
status: | New → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.