I would really like if the ability to resize a window dragging it's top border is configurable.
I'm used to constantly shading and unshading my windows, and a big part of my windows are located at the top of the screen (meaning their top border is stuck to the screen top edge). In Xfce 4.4 I used to drag my cursor to the top edge and scroll my mouse's wheel up/down to shade/unshade a window. Currently I can't because, when the cursor gets to the top of the screen, it becomes a resize cursor and the shade/unshare doesn't work.
Also, it was (at least for me) more confortable to move windows this way.
Some more thoughts on this:
An alternative solution would be to make it possible to shade/unshade a window while the cursor is above the top border and the pointer is the one for resizing. The downside will be that this way it won't be possible to click-and-drag to titlebar in order to move the window, which was also an ability I was used to in 4.4.
I had this issue on my todo list for creating bug reports for. I am using
xfwm version 4.6.1-1 on debian unstable. And when I have a window that is
located tot the top of the screen, it is very user unfriendly to resize
the windows instead of moving the windows when moving the cursor to the
top of the border and left clicking on it. Maybe this feature is only
useful when the windows is not located at the edge of a screen size.
I would like to discus the removal of this behavior or change the defaults. So I want to go a little further then the original poster of this bug report, I would like to see the defaults or the complete behavior changed.
Thanks in advance,
Huh no, sorry, I am against making this an option.
Created attachment 2326
A patch, enabling the user to shade the window when the cursor is over the top border.
Please, consider applying the attached patch.
The patch enables shading the window, while the cursor is over the top border. I think it won't hurt anyone to apply this. :)
I'm attaching also a patch which additionally makes the window be moved instead of resized if the window is positioned at the top of the screen (as desribed in comment #2). This has a problem, though - the mouse cursor is displayed as if the window will be resized until the user clicks the mouse button - so the second patch is somewhat incomplete. But if you consider applying it, I'll try to send a complete solution for this.
Created attachment 2327
A patch enabling the user to shade the window when over the top border and when the window is at the top of the screen - to move it instead of resizing it.
One more proposal - this patch (once again) enables shading/unshading when over the top border and allows moving the window when right-clicked on the top border.
Thus no extra configuration options will be added.
(documentation patch included)
Created attachment 2328
A patch, enabling the user to shade the window when the cursor is over the top border and move the window using the right mouse button.
Alexander, since you are doing such hard work, is it possible to just make a single patch that only disables the new resizing feature when the windows is not maximized and the top window border is on the upper edge of the screen? and allow a left click in this upper top position of the cursor to move the window?
The second attached patch (http://bugzilla.xfce.org/attachment.cgi?id=2327) does just what you describe, with the problem, described in the last paragraph of comment #5.
I doubt this version of the patch will make it in subversion, because it affects the people who wanted the resize by the top border feature. I hope the third version of the patch will be considered more unintrusive, since it does not really affect those people.
(In reply to comment #10)
> The second attached patch (http://bugzilla.xfce.org/attachment.cgi?id=2327)
> does just what you describe, with the problem, described in the last paragraph
> of comment #5.
Does it only disable the resize feature when the windows top border is on the top of the screen, since the resize feature is useful when the window is not on the top of the screen
(In reply to comment #11)
> Does it only disable the resize feature when the windows top border is on the
> top of the screen, since the resize feature is useful when the window is not on
> the top of the screen
Yes, it does just that. :)
Created attachment 2329
Improved version of the previous patch (namely - the ability to resize window with alt + right click is not lost)
Five years later, I cannot make sense of this report / reproduce the original issue. I'm going to assume the problem was fixed, and will mark it as closed.
Otherwise, could you please provide precise steps to reproduce the original issue? Thanks.