Bug 161107

Summary: clicking in a corner on a not maximized window clicks on the window below
Product: [Plasma] Oxygen Reporter: Matthias Kretz <kretz>
Component: win decoAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: bartoschek, hugo.pereira.da.costa, long
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Matthias Kretz 2008-04-21 13:09:54 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

The rounded corners of the oxygen win-deco make mouse events in the corners go below the window. That's logical, but I think it would be better to extend the clickable area of the window into those corners because
a) it gets easier to resize a window if the area where you can drag the corner gets bigger
b) If a window is maximized, a click in the top-right corner closes the window. If a not-maximized window, aligned to the top-right corner is above that and you click in the top-right corner the window below gets closed.

Case b) is, IMHO, a major problem. I have closed too many windows I didn't want to close already.
Comment 1 Camilla Boemann 2008-04-21 13:18:08 UTC
I don't think i can do anything about this.

It is a problem originating from X

Maybe the day we are sure to have argb visuals all the time
Comment 2 Matthias Kretz 2008-04-21 13:31:42 UTC
Ah. If you could use an alpha channel in the win-deco then you could fix this? At present you're using a mask and that mask gets applied to both the mouse events and the "presentation"?

I have working ARGB visuals. Perhaps that could optionally be used in kwin? I guess that would kind of make this report a wishlist item then... :-)
Comment 3 Camilla Boemann 2008-04-21 13:55:06 UTC
yes that is exactly the case.

Unfortunately i don't think i'm able to tell when I have argb visuals or not. 

setting pri to wishlist
Comment 4 Huynh Huu Long 2008-08-19 18:23:38 UTC
KWin seems to contain code which handles those "corner cases". Making it actually work would solve this problem.
Comment 5 Hugo Pereira Da Costa 2011-09-23 13:01:26 UTC
*** Bug 222980 has been marked as a duplicate of this bug. ***
Comment 6 Hugo Pereira Da Costa 2012-11-26 11:00:56 UTC

*** This bug has been marked as a duplicate of bug 230013 ***