Tiling-Assistant icon indicating copy to clipboard operation
Tiling-Assistant copied to clipboard

No dropshadow on tiled windows [feature request]

Open Chris611 opened this issue 2 years ago • 2 comments

I absolutely love this! It's nearly perfect. I have only one feature request:

In standard Adwaita theme, maximized (or split screen) windows remove the drop-shadow around the Window and get squared corners. This behavior is lost when using Tiling-Assistant. Would it be possible to restore this, perhaps with an option?

Thanks for the effort!

Chris611 avatar Aug 03 '22 18:08 Chris611

Tiling Assistant (and all other tiling extensions) just do 'fake tiling' by moving and resizing windows programmatically for the user. In the end however all windows are actually still floating windows. I think it's not possible to do this from an extension's point of view because as an extension we can only affect GNOME Shell.

Leleat avatar Aug 03 '22 21:08 Leleat

If I tile a GTK window without tiling-manager, the window gets CSS classes 'tiled-bottom tiled-right tiled-top'. Tiling-manager doesn't add these classes. If I add these classes (or just the class 'tiled') by hand, via gtk-inspector, the window does the behavior I described. Perhaps tiling-manager could add this class to the Window when tiling a window?

Edit: Yeah, ok. The meta-window thing doesn´t have something like get_style_context().add_class() exposed as would be the case in normal GTK. So I´t not as simple as I thought and probably not even possible in a gnome-shell extension indeed.. Big limitation of gnome-shell..

Chris611 avatar Aug 04 '22 09:08 Chris611

Edit: Yeah, ok. The meta-window thing doesn´t have something like get_style_context().add_class() exposed as would be the case in normal GTK. So I´t not as simple as I thought and probably not even possible in a gnome-shell extension indeed.. Big limitation of gnome-shell..

Closing this. As mentioned I don't think it's possible to do this from inside a GNOME Shell extension. I'll add this to the list of known limitations...

Leleat avatar Nov 22 '22 20:11 Leleat