mate-desktop / marco

MATE default window manager
https://mate-desktop.org
GNU General Public License v2.0
197 stars 87 forks source link

Window resize with window menu, horizontally and vertically, but not diagonally #264

Open BrentonEarl opened 8 years ago

BrentonEarl commented 8 years ago

Background

I am not sure if this is expected behavior or if this needs to be marked as a feature request.

The window should resize in all directions when dragging a window corner with mouse button 1. Resizing should occur from the bottom right corner of the window in all directions.

Actual

Resizing the window only allows either horizontal or vertical changes. Diagonal movements of the mouse will only resize a window either horizontally, vertically, but never diagonally.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33041566-window-resize-with-window-menu-horizontally-and-vertically-but-not-diagonally?utm_campaign=plugin&utm_content=tracker%2F841233&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F841233&utm_medium=issues&utm_source=github).
monsta commented 8 years ago

The window should resize in all directions when dragging a window corner with mouse button 1. Resizing should occur from the bottom right corner of the window in all directions.

Not sure why clicking on window menu button is needed if you resize the window with mouse at the bottom right corner...

BrentonEarl commented 8 years ago

I usually right click on the title bar. The menu button was coincidentally showing the same functionality.

My report also describes functionality that already exists in Xfce4, KDE, and LXDE. I do not mean to compare desktop environments. However, I was surprised this did not exist in MATE.

monsta commented 8 years ago

Looks like we're talking about two different things here...

  1. Resizing with holding left mouse button at window corner and moving the mouse.
  2. Right-clicking on titlebar, or left-clicking on top left corner, then selecting the menu item for resizing the window.
raveit65 commented 8 years ago

Best way to resize a window is:

[rave@mother ~]$ gsettings get org.mate.Marco.general mouse-button-modifier
'<Alt>'
[rave@mother ~]$ gsettings get org.mate.Marco.general resize-with-right-button
true

Than use alt+right click anywhere in a window

vkareh commented 5 years ago

When selecting Resize from the application menu (or by using the Resize keybinding, Alt+F8), if you start moving the mouse either horizontally or vertically, the resize locks into that dimension. It's really hard to get it to start resizing diagonally.

I get slightly better results when using reduce-resources, but it's still reproducible most of the time.