Bug 9601

Summary: Mouse clicks pass through titlebar of maximized windows
Product: xorg Reporter: kronheim
Component: App/compizAssignee: David Reveman <reveman>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: kronheim
Version: 7.1 (2006.05)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description kronheim 2007-01-10 11:35:45 UTC
Running current compiz from git (`compiz --version` == 0.3.7), the following occurs:

1.  Start a compiz/gnome session and launch gnome-terminal (or anything else)
2.  Maximize gnome-terminal (e.g. by clicking the max button on the title bar)
3.  Click on the title bar of the maximized window (button 1)

Expected result: nothing much
Actual result: whatever is behind the gnome-terminal window receives the mouse
click (typically the desktop)

This happens when using any type of window decoration (including the built-in
decoration). It happens with any application window, and any mouse button. It
also happens if the window is just maximized vertically.

Version 0.3.6 did not have this bug. I earlier mentioned this problem in a
comment on Bug #9257, and incorrectly stated there that this problem only
occurred with kde-window-decorator.
Comment 1 David Reveman 2007-01-10 16:46:12 UTC
Sounds like frame window used for input is not updated correctly for some
reason. It works just fine for me so I don't know exactly where to look but I'll
see if I can't figure out what could be wrong sometime soon.

You can use git-bisect to track down the commit that caused this problem. Doing
that would be very helpful.
Comment 2 kronheim 2007-01-10 21:50:29 UTC
From git-bisect:

dc5833fcb4b0c3cd2dfc0a81e7a7209a3104e40f is first bad commit

Comment 3 kronheim 2007-01-11 05:03:02 UTC
Ah. This bug is reproducible only if you turn *off* the "Maximize effect" in the
wobbly plugin.
Comment 4 David Reveman 2007-01-18 09:31:48 UTC
Should be fixed now.
Comment 5 kronheim 2007-01-18 10:39:07 UTC
Yes, I can't reproduce the bug now with the latest version.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.