Bug 161107 - clicking in a corner on a not maximized window clicks on the window below
Summary: clicking in a corner on a not maximized window clicks on the window below
Status: RESOLVED DUPLICATE of bug 230013
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
: 222980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-21 13:09 UTC by Matthias Kretz
Modified: 2012-11-26 11:00 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***