GNOME Bugzilla – Bug 742810
shadow clipping for half-maximized windows
Last modified: 2018-04-15 00:25:01 UTC
Right now shadows are clipped differently in mutter than in gtk for CSD windows. For gtk CSD windows, maximized windows have the shadow clipped so they don't get cast on other displays. However, Half-maximized windows do. I've been told the mutter behavior of not casting shadow when two windows are tiled side by side has been viewed as a bug by some. While I would prefer the mutter behavior[1], we definitely need to behave consistently here. [1] Discussion on it can be seen in bug #643075
Frankly speaking I prefer the gtk+ CSD behaviour, well after dimming a bit the shadow for the focused tiled window though. Mostly since the shadow is used to reinforce the focused window visual indication which is a bit weak without.
Perhaps a good compromise. Let's fix the CSD side to be just right: - dim the shadow for tiled windows - clip the shadow on the edges so they don't show up on neighboring displays Once we are happy, we make this a consistency bug of mutter.
(In reply to comment #2) > Perhaps a good compromise. Let's fix the CSD side to be just right: > > - dim the shadow for tiled windows > - clip the shadow on the edges so they don't show up on neighboring displays You might think this is easy - but it isn't. We don't have knowledge about which edges are tiled and which are screen edges. We just know 'this window is tiled', thats about it.
IIRC mutter has the concept (well window geometries) of left tiled and right tiled, the same thing in gtk+ should fix that, no?
Yeah, it's probably easy to say that, but hard to implement :-/
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1232298
See also bug 752794.
This is a very visible issue, can we try to address this for 3.20?
Any progress on this one? It would be nice for the window node to get a tiled styleclass with the positional classes in the mix too (atm on wayland there's no tiled class at all), shall I file another bug for this?
would like to see shadows clipped for half maximised windows.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new