Leleat / Tiling-Assistant

An extension which adds a Windows-like snap assist to GNOME. It also expands GNOME's 2 column tiling layout.
GNU General Public License v2.0
1.13k stars 64 forks source link

Tiled windows don't look tiled #255

Open vixalien opened 1 year ago

vixalien commented 1 year ago

When you tile a window, say to the right with Tiling Assitant, it retains the round edges and still looks as a non-tiled application.

Here's some pictures for reference

Tiled window using GNOME native tiling

image

A closer look at the bottom right edge

image

Tiled window using Tiling Assistant

image

A closer look at the bottom right edge

image

Possible solution

Now I think this can be solved by adding the relevant tiling styles to a tiled window. For example, the above extension gets the tiled-top, tiled-left and "tiled-bottom` classes.

image

Here are the relevant styles in libadwaita,

It would be nice if Tiling Assistant could add these styles too.

3v1n0 commented 1 year ago

This is something that can't be handled at extension level without upstream support.

A change like #239 can help in the two-tiles cases, but it won't in other cases. To support this in Ubuntu we introduced two patches:

They're both pretty small and the mutter one can probably be reworked to be merged upstream, but it's something we have to discuss still.

3v1n0 commented 1 year ago

And they look as expected indeed:

image

MagnusL3D-code commented 11 months ago

Just wanted to come here and +1 to this since I was just about to create the same issue :)

skewty commented 9 months ago

making the corners squared would solve #222