domferr / tilingshell

Extend Gnome Shell with advanced tiling window management. Supports multiple monitors, Windows 11 Snap Assistant, Fancy Zones, customised tiling layouts and more.
https://extensions.gnome.org/extension/7065/tiling-shell/
GNU General Public License v2.0
679 stars 20 forks source link

New maximized window full screen but with gap #203

Open linuzzz opened 5 days ago

linuzzz commented 5 days ago

Hello,

I have a layout with only one tile for workspaces where i use maximized windows, the purpose is to have gaps around the window. When I launch apps in this layout the windows is maximized but without gaps, I have to type Super+arrow in order to let the window become maximized with gaps around...

I'm using Gnome 47 with Fedora 41

Don't know if this is a bug or there is a different way to achieve this

Thanks Linus

sebastiaanfranken commented 4 days ago

Have you enabled the "auto tiling" option? That, at least in my testing with a custom layout with just 1 window, does what you describe, it gives a 12 px (?) border around my window. I set my outer border to 12 to check.

I'm using GNOME 47 on Fedora 41 as well.

linuzzz commented 4 days ago

Yes, auto-tiling is enabled. I noticed that it happens only with some apps, for example Firefox start maximized with no gaps, tor browser start in the right way, covering 1 single tile and with gaps around it...so it depends on the app launched?

domferr commented 4 days ago

Hey @linuzzz I understand what you are experiencing! The point here is that if a windows is created already maximized, auto tiling is not applied to it. Anytime a window get created, and it is not already maximized, auto tiling takes place

linuzzz commented 4 days ago

Hello Domenico, thanks for your reply and your work. Are you aware of any workaround to tell gnome to not start an app in a maximized way? I know it doesn't relate to your extension...just trying :-)

sebastiaanfranken commented 3 days ago

GNOME remembers the last state of any application, so if you launch it, make it not maximized and close it the next time you open it again it should open in the state you closed it.

domferr commented 3 days ago

Hello Domenico, thanks for your reply and your work. Are you aware of any workaround to tell gnome to not start an app in a maximized way? I know it doesn't relate to your extension...just trying :-)

As far as I know there isn't such possibility! As @sebastiaanfranken says, GNOME reopens windows in the last state you left them. So if you close a maximized window, when you reopen it, it will be maximized again.

linuzzz commented 2 days ago

So...something is wrong with my gnome settings, because if I center the window with this extension the next time it start maximized anyway... :-(