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
519 stars 10 forks source link

[Feature Request] Maximize a window by dragging it to top edge (top edge-tiling) #55

Closed 7HE-W0R1D closed 2 months ago

7HE-W0R1D commented 3 months ago

Describe the bug When dragging a window up to the top and release, the window is occupying the whole monitor, however, the window is not maximized to fit the monitor but resized to make its width and height equal to the space. Which makes the rounded corners persistent in the windows, and wasting some space for programs that uses a different layout in full screen (Firefox for example)

Program maximized to full screen: image

Program dragged to full screen with tilingshell (notice the rounded corners and the shrank tab bar): image

To Reproduce Steps to reproduce the behavior:

  1. Go to tiling shell settings
  2. Set outer gaps to 0
  3. drag any window to the top and release
  4. the window would take up the whole space but its not in full screen.

Information (please complete the following):

Additional context I'm not sure if its the intended behavior / there are any setting on this that I missed, but I'm happy to test & provide more information if needed!

EfogDev commented 3 months ago

I double this; edge tiling from the v10.0 update made it so. For me the expected behavior on "drag to the very top and release" is to maximize a window, with no outer gaps (even if they are present in the settings).

domferr commented 3 months ago

Hey, thank you for this suggestion!

In general, when you drag to the top, Tiling Shell doesn't maximize. I think, as you suggest, it makes sense to maximize the window if the outer-gaps are set to zero. However, I'm now changing my mind: maybe it is better to always maximize, even if you have set outer-gaps to some value. What do you think?

EfogDev commented 3 months ago

@domferr I believe this really makes more sense. https://github.com/domferr/tilingshell/pull/56

in4matix commented 3 months ago

What about folks like me that never use maximized windows? It is part of my workflow now to grab a window to the top and dropping it into a tiling zone.

domferr commented 3 months ago

What about folks like me that never use maximized windows? It is part of my workflow now to grab a window to the top and dropping it into a tiling zone.

Yeah @in4matix, me too ahahah can't live without Snap Assistant! They are talking about edge-tiling: by moving the window on the top edge (above the snap assistant), the extension currently doesn't maximize the window, but sets the window to the maximum size instead. GNOME's default behavior is to maximize, while Tiling Shell overwrites that behavior.

Screencast from 2024-06-27 10-58-54.webm

in4matix commented 3 months ago

@domferr , ooohh, dragging the window to the top EDGE maximizes it... Sorry, I'm stupid :-)

in4matix commented 3 months ago

@domferr , thank you for your hard work and dedication to this amazing Application. Still boggles my mind that code smaller than 1Mb can do so much !! So when can we expect Domenico Shell to replace Gnome Shell? BTW, sending you a couple more coffees soon.

arylix commented 3 months ago

Is there an option to use the default full screen instead of the full screen with gaps? I would like to use tiling shell but still use default full screen

domferr commented 3 months ago

Hi @cnhy0, this is currently not possible, but it will be customizable in next updates

domferr commented 3 months ago

Meanwhile, as a workaround, you have many options:

domferr commented 3 months ago

Hi, in the next update it will be possible to choose whether to maximize the window or not when it is dragged to the top edge :partying_face:. It will be possible to enable/disable edge-tiling too.

If you want to try it in advance, here it is!

Enjoy!