Min/max, move, resize , close active window from the top panel.
These window-related tasks are performed very frequently - perhaps the most common action after window switching. On a desktop like Windows, you can take advantage of the top of the screen to close, move+restore or restore maximized windows, as well as maximize, restore, close (depending on position), and move tiled windows. On Gnome, you can only use it to move+restore the maximized window.
It makes sense to take advantage of Fitts law to expedite these very common actions. Since Gnome's panel is very empty there shouldn't be any obstacles in the way of this functionality. Here's what I'd recommend:
- Double-click (or right-click if dconf option set) on empty space to maximize or unmaximize any active window.
- Right-click-down and drag (or double-click and drag (?) if above dconf option is set ) using default double-click to maximize) to resize any active active window. Resizing windows with just a mouse is a major pain because the click target is tiny. This feature would be especially useful for tiled windows, since you could you could resize both windows just by swiping from the top of the screen.
- Close window from the panel. This one is tricky, because Gnome already uses all the corners. One possibility is to middle click on the window "appmenu" widget, or on empty space. This is actually the behavior used by browsers - you can just middle click on the tab to close it, instead of having to aim for a little x mark in the corner.
- Act on the active window regardless of state, not just maximized windows.
- ? Drag from anywhere, including widgets. This is mainly for people who use a lot of extensions and thus aren't left with much much empty space in the panel, though I think even people who don't use them could benefit, since it would allow them to manage the active without even looking - which is kind of the point of this proposal. Of course, this would make menus ever so slightly slower to open, you'd have to lift the mouse. I think the tradeoff is worth it, personally.
All of this behavior - logically - should of course only apply to the active window on the monitor where the panel is located (unless Gnome implements multi-monitor panels).
This functionality come in especially handy with the advent of CSD, which generally reduces both the click targets for maximize/drag and the predictability of window management (if you use CSDs from various toolkits). So a bonus of this functionality would be to mitigate this problem.
I've been using Latte Dock on KDE and it has been incredibly helpful for window management. It has most the features proposed here. It's really cumbersome to have to back to go back to using little title bars to manage active windows after trying it. You just throw your mouse to the top of the screen and you're done. I encourage anyone skeptical of this proposal to at least test out Latte dock with window buttons and the
Drag and maximize/restore active window option enabled. It is much more efficient and predictable - even on KDE where titlebars are are always large and identical.