After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742810 - shadow clipping for half-maximized windows
shadow clipping for half-maximized windows
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Themes
3.15.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-01-12 15:29 UTC by Jakub Steiner
Modified: 2018-04-15 00:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jakub Steiner 2015-01-12 15:29:26 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
Comment 1 Lapo Calamandrei 2015-01-12 20:18:44 UTC
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.
Comment 2 Jakub Steiner 2015-01-13 12:24:24 UTC
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.
Comment 3 Matthias Clasen 2015-01-13 13:13:26 UTC
(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.
Comment 4 Lapo Calamandrei 2015-01-14 00:18:28 UTC
IIRC mutter has the concept (well window geometries) of left tiled and right tiled, the same thing in gtk+ should fix that, no?
Comment 5 Lapo Calamandrei 2015-01-14 00:19:00 UTC
Yeah, it's probably easy to say that, but hard to implement :-/
Comment 6 Debarshi Ray 2015-06-17 15:11:10 UTC
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1232298
Comment 7 Emmanuele Bassi (:ebassi) 2015-08-04 14:42:24 UTC
See also bug 752794.
Comment 8 Lapo Calamandrei 2015-09-29 14:19:56 UTC
This is a very visible issue, can we try to address this for 3.20?
Comment 9 Lapo Calamandrei 2016-07-26 18:10:24 UTC
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?
Comment 10 jon 2016-12-07 19:09:35 UTC
would like to see shadows clipped for half maximised windows.
Comment 11 Matthias Clasen 2018-02-10 05:05:25 UTC
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.
Comment 12 Matthias Clasen 2018-04-15 00:25:01 UTC
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