Mouse Click Registered on Lower Window When Closing Overlying Window with focus-follows-mouse

Bug #956278 reported by gali98
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Won't Fix
Wishlist
Focus Follows Mouse Bugs
compiz (Ubuntu)
Won't Fix
Wishlist
Focus Follows Mouse Bugs

Bug Description

How to Replicate:

First Remove indicator-appmenu
Then use gconf-editor to set
apps->metacity->general:
auto_raise: false
focus_mode: sloppy or mouse

(Basically get Focus Follows Mouse Working - with no auto_raise)

Now open a program - Terminal let's say.

Now open a program that has a secondary dialog box - gedit.
Open gedit preferences and drag the preference window over terminal so that underneath the X button of gedit preferences is terminal. If you click the X button, the window will close, but the underlying window - terminal, will be brought to the top (even above the main gedit window.)

This becomes very frustrating. I run terminal full screen, and if I have an application on top and close out a dialog it throws terminal to the top and I have to fish through Super-W to find it again.

A workaround is to disable raise_on_click, but this is annoying in and of itself, and doesn't fix the bug.

What I think happens (incorrectly) is that when you click on the X, it also registers the click on the window below.

This affects both oneric and Precise, at least.

Kory

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.6.0-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,mousepoll,vpswitch,place,snap,gnomecompat,regex,grid,wall,imgpng,resize,session,move,unitymtgrabhandles,animation,expo,fade,scale,workarounds,ezoom,unityshell]
Date: Thu Mar 15 13:22:37 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 TERM=xterm
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to precise on 2012-03-15 (0 days ago)

Revision history for this message
gali98 (korylp) wrote :
tags: added: oneric
summary: Mouse Click Registered on Lower Window When Closing Overlying Window
+ with focus-follows-mouse
Omer Akram (om26er)
Changed in unity (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in unity:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
sz (szeder) wrote :

The bug description is valid and I'm also quite annoyed by it, but I don't think the mouse click actually registers at the lower window.
If I position the three windows such that the lower window has a button, link, or whatever clickable under the overlying window's 'X', and click on 'X' to close that window, then the lower window is raised but the button/link/whatever in the lower window is not clicked.

Revision history for this message
sz (szeder) wrote :

Actually, it has nothing to do with clicking the close button at all.

- Use a terminal window as the window that will be closed.
- Arrange the windows as described above.
- Type 'exit' or hit ctrl-d in the terminal window to leave the shell. This will then implicitly close the terminal window.
- Watch the lower window raised.

affects: unity → compiz
affects: unity (Ubuntu) → compiz (Ubuntu)
Changed in compiz:
assignee: nobody → Focus Follows Mouse Bugs (focus-follows-mouse-bugs)
Changed in compiz (Ubuntu):
assignee: nobody → Focus Follows Mouse Bugs (focus-follows-mouse-bugs)
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

As part of a bugs cleanup we decided to close some old bugs that affect unsupported releases. If you still experience this problem in one of the recent and supported Ubuntu releases please feel free to re-open it and update the description. Thank you!

Changed in compiz:
status: Triaged → Won't Fix
Changed in compiz (Ubuntu):
status: Triaged → Won't Fix
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.