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
657 stars 20 forks source link

[Feature Request] Allow disabling feature `top edge to maximize window` #136

Open holterdipolter opened 2 months ago

holterdipolter commented 2 months ago

Describe the bug The switch for Drag against top edge to maximize window has no effect. If I move a window to the top edge, it will be maximized, whether the switch is turned on or not.

To Reproduce Steps to reproduce the behavior:

  1. Go to Tiling Shell extension settings
  2. Enable Screen Edges, disable Drag against top edge to maximize window
  3. Open a window of your choice and drag it against top edge
  4. Window will be maximized

Information

Thanks for this great extension btw!

domferr commented 2 months ago

Hey thank you for sharing this issue! Can you share a video about it? I'm trying to reproduce the problem, without success.

holterdipolter commented 2 months ago

Of course...

https://github.com/user-attachments/assets/b7f1c1a8-9827-4d39-918c-44ba146dd7fa

All other extensions are disabled.

domferr commented 2 months ago

Uh I see... The window is not maximized (if you look at the maximize button, it is still available), however since you set a value of 0 for the outer gaps, the window gets resized as much as the monitor, having the same size of a maximized window

domferr commented 2 months ago

Maybe the confusion here is that the setting Drag against top edge to maximize window is about maximizing or not maximizing the window and is not about enabling or disabling the top edge. Where you looking for a setting to disable the feature of dragging to the top edge?

holterdipolter commented 2 months ago

Ah ok, I see my misunderstanding. Thanks for clarification!

Yes, I was actually looking for a way to turn off the "maximize window by dragging it to the top edge" feature. The main issue for me is that moving vertically maximized windows along the horizontal axis (which I do a lot) becomes tricky, as you have to keep the mouse within a pretty narrow stripe, bounded by two "trigger lines" either maximizing the window (top line) or "undocking" the window from the topbar (bottom line). I know, gnome has the same feature build in, but it kicks in a bit later which makes moving a window somewhat easier. However, I would still prefer to turn it off completely, as I usually maximize windows by double-clicking.

So at last for my workflow, implementing a button to disable triggering stuff by dragging the mouse to top edge or at least a threshold value to reduce the activation distance (similar to the Snap Assistant threshold setting) would be a significant improvement and would make this extension even greater than it already is.

domferr commented 2 months ago

@holterdipolter I believe this is a nice suggestion, thank you. Hope to work on this soon!