Wrong application (with window "Always OnTop") takes focus after closing a dialog

Bug #1024662 reported by Chris Schmidt
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 12.04

Steps to reproduce:

1) start two programs, e.g. gnome-terminal and nautilus
2) set one of the two windows to "Always On Top"
3) switch to the other application and open a dialog there.
4) close the dialog
5) Now the application with the setting "Always On Top" has focus instead of the other application

Several times I closed the wrong application because of this or started the wrong action in the wrong application (I often use keyboard shortcuts instead of using the mouse), which can be pretty annoying or even result in data loss.

In order to exclude any side effect of my current installed system I tested this also with an unmodified "Ubuntu 12.04 LTS 64 bit" image booted from USB Stick. It is the same there.

Edit: I added the Apport Debug Information from the system booted from USB stick, so it says "No upgrade log present (probably fresh install)", but the error is the same with my current system, which is up-to-date.

This is my first bug report to Ubuntu and I am not sure if you need more information?
---
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
CasperVersion: 1.315
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
Package: unity 5.10.0-0ubuntu6
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Tags: precise precise precise ubuntu
Uname: Linux 3.2.0-23-generic x86_64
UnreportableReason: Please work this issue through technical support channels first.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Chris Schmidt (nadt) wrote : Dependencies.txt

apport information

tags: added: apport-collected precise ubuntu
description: updated
Revision history for this message
Chris Schmidt (nadt) wrote : GconfCompiz.txt

apport information

Chris Schmidt (nadt)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Adam Zochowski (adam-zochowski) wrote :

This also affects Ubuntu 12.10

Changed in unity:
status: New → Confirmed
Revision history for this message
Alex Baggott (alex-baggott) wrote :

As part of the big bug review for 16.04 LTS, I have tested this on 15.10 and the bug is still there.

tags: added: desktop-bugscrub-triaged
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.