! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add maximize horizontally and maximize vertically to double-click title action
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description bugs 2009-07-16 12:48:19 CEST
Created attachment 2450 
Patch against 4.6.1 and current trunk.

Straight-forward patch to add "Maximize window horizontally" and "Maximize window vertically" options when double-clicking the window title bar.

I find this incredibly useful for e.g. code editor windows :).
Comment 1 shrdlu 2010-02-15 08:37:57 CET
The absence of this feature has previously been remarked on by someone else:
http://forum.xfce.org/index.php?topic=4816.0

In case the value of this patch is underestimated, double-click to
maximize vertically is an enormous convenience for anyone who does it
frequently, especially with a widescreen display.

For me, it was so important that years ago it was one of the main reasons
I switched from Gnome to KDE (maybe Gnome has since added this feature, I
haven't checked).

Now I want to switch from the bloated KDE to something else before the next
Debian release, and the absence of this feature from Xfce is the one thing
that keeps me looking for another alternative.

When is the next Xfce release? Will this patch be in it?
Comment 2 Jesús Guerrero 2010-02-17 14:31:48 CET
@shrdlu@xmail.net. In xfwm you can do that by using the other two mouse buttons on the maximize button just like in a lot of other WMs (second and third mouse buttons). Having the double click functionality would be nice, but it certainly is not a showstopper in your case.
Comment 3 shrdlu 2010-03-03 08:50:33 CET
(In reply to comment #2)
> @shrdlu@xmail.net. In xfwm you can do that by using the other two mouse buttons
> on the maximize button just like in a lot of other WMs (second and third mouse
> buttons). Having the double click functionality would be nice, but it certainly
> is not a showstopper in your case.

Thank you for your reply. I already knew this, but it's much quicker
and more convenient to focus on a wide title bar and double click.
If this was something that was done once or twice a day you might
have a case, but for a frequent operation it makes a big difference.

Considering that this is a fairly small patch, and that it doesn't
affect anyone who might not care about this feature, it's a bit
disappointing that you seem reluctant to apply it. It could be
quicker than arguing about it or telling other people that they are
mistaken in their assessment about what is or isn't convenient in
their usage of a window manager.
Comment 4 Olivier Fourdan editbugs 2010-03-03 10:26:14 CET
In any case, this has absolutely no chance of being added in 4.6, we do not add feature in the stable release (even less when that adds new strings for to translate).

For 4.8, maybe, but keep in mind that we have to draw a line somewhere between useful features and bloat. I have not yet decided if that would be desirable in 4.8.

In we add this for maximization, why not do the same for the fill function as well? So we end up with 9 different possibilities/behaviors just for one single option.

That might not sound important to you, but the more possibilities we have, the more potential problems and this could quickly turn out as a support nightmare. And we do not have infinite resources for testing (or for anything else actually), quite the contrary.
Comment 5 Richard Jones 2011-03-20 00:17:42 CET
As a recent convert / escapee from GNOME 3 to XFCE,
I would just like to add that this is the one very
important feature missing from XFCE.
Comment 6 Olivier Fourdan editbugs 2011-03-21 11:05:29 CET
(In reply to comment #5)
> As a recent convert / escapee from GNOME 3 to XFCE,
> I would just like to add that this is the one very
> important feature missing from XFCE.

It's not like if it's really completely missing though. You can use middle/right mouse on the maximize button to get the same, or use the keyboard shortcuts for the given action.

xfce 4.8 also adds double click on the borders and corners to "fill" in the given direction (like double click on top or bottom border to fill vertically, left or right borders to fill horizontally).
Comment 7 shrdlu 2011-03-27 12:21:54 CEST
Well I'm still using KDE 3.5 and looking for a satisfactory alternative.
So it's disappointing to come back to this forum a year later and find
that T Bingmann's patch still has not been applied.

> It's not like if it's really completely missing though. You can use
> middle/right mouse on the maximize button to get the same, 

I'd guess people requesting this already know this (as I did).
As pointed out above, the title bar is a nice big target,
and quicker to hit than the small maximize button.

> xfce 4.8 also adds double click on the borders and corners to "fill" in the
> given direction (like double click on top or bottom border to fill vertically,
> left or right borders to fill horizontally).

In comment 4, you wrote "In we add this for maximization, why
not do the same for the fill function as well? So we end up
with 9 different possibilities/behaviors just for one single
option."

So, if I understand correctly, the argument before was that
you didn't want to apply the double-click patch for maximize
vertically because then you would have to do it for the fill
function and that would be a "support nightmare". But now
you've done it for the fill function anyway but you continue
to reject the vertical maximize function?

I give up!
Comment 8 Michael Cole 2011-12-16 07:38:29 CET
Hi, I wrote up a rant for this, but it's already been fixed.

Mousey -> Settings -> Settings Manager -> Window Manager -> Advanced tab -> doubleclick action.

If you're getting no maximizing when double-clicking, check your mouse double-click settings.

Mousey -> Settings -> Settings Manager -> Mouse -> Behavior Tab -> Double-click Time.

Mine was set to 250 but it didn't register.  500 is more appropriate for my clickitude. 

I have a Microsoft 2.4GHz Transceiver V1.0
$ lsusb
Bus 004 Device 004: ID 045e:071d Microsoft Corp.
Comment 9 sam 2012-10-13 17:39:14 CEST
With all due respect to the xfce team, I find it completely inexplicable why this straightforward fix is not implemented yet.  This is one feature that I find wanting on a daily basis!  Xfce4 is an excellent environment in most other ways, and dare I say that it is the most reasonable GUI environment that Linux has to offer.

The argument that this simple feature will make xfce4 a bloatware is completely insane.

If you are ever using any type of editor or a terminal on a semi-regular basis, you know that toggling maximize-vertical *quickly* is an essential thing to do! 

Please fix this bug, and make xfce4 a respectable and friendly environment.
Comment 10 Toebs 2014-11-11 18:41:21 CET
Hi.

I too am looking for this behaviour.

I'm moving on now from Windows 7, where I first came across this functionality and it is absolutely vital.  I cannot imagine a desktop without it; absence means the given desktop is not viable.

What I see in general over many distros is that the maximize button is overloaded, so the middle and right mouse buttons maximize vertically and horizontally, respectively.

This is not good enough.  Firstly because the maximize button is small and by that slower and harder to access, where this operation I perform constantly and so look to hav a much larger area to click in.  Secondly, the middle mouse button is the wheel and is not viable as a clicking button.

The best I've been able to find is with KDE, where there's enough configuration I can have double clicking the title bar maximize vertically, and left clicking the maximize button maximize fully.

As it is, what I really want - but have seen nowhere - is double clicking the top or bottom drag border of the window frame to maximize vertically, and double clicking the left or right drag border maximize horizontally, and double clicking the title bar to maximize normally.

Xfce is is every respect except for this absolutely vital respect seemingly ideal.  I want a minimal manager, my needs are simple, I don't want lots of functionality a la Gnome, KDE, etc - but the easy maximization of windows is catagorically vital, and overloading the maximize button does not meet this need.
Comment 11 Git Bot editbugs 2020-05-29 11:41:42 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/25.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #5573

Reported by:
bugs
Reported on: 2009-07-16
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
6 users

Version

Attachments

Additional information