! 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 !
Edge-snapped window's maximize button responds to right instead of left click
Status:
RESOLVED: FIXED
Priority:
Very Low
Component:
Decorations

Comments

Description Mark Underwood 2014-10-31 18:54:55 CET
The package version is "4.11.1-2ubuntu2".

This is an upstream filing of my "launchpad.net" report you can find here:
https://bugs.launchpad.net/ubuntu/+source/xfwm4/+bug/1387533

Quote:

I discovered an intermittent glitch where if a window is edge snapped, the maximize button will not change to the restore button and the following behavior is experienced:

1) Left clicking on either the "minimize" or "close" buttons successfully executes the respective function.

2) Left clicking on the maximize button appears to do nothing.

3) Right clicking on the maximize button executes the maximize function.

There is a possibility that this glitch may be tied to Thunar in some way because, if my memory serves me right on these few and far between occurrences, it is usually Thunar windows that exhibit this behavior. Since the glitch is related to window decorations and affects edge snapped windows only, I filed this for xfwm4.

If a misbehaving edge-snapped window is dragged away from the edge, the same window can then be successfully maximized with the function's button by left clicking. Snapping the window again may relieve the condition temporarily or it may continue. I will watch for the result of that if and when there is a next time.

Thanks for all your efforts,
Mark
Comment 1 Olivier Fourdan editbugs 2014-11-01 07:57:34 CET
This is normal behaviour and not a bug.

Tiling is using partial maximization, ie either maximized vertically alone if tiled on a side, or maximized horizontally if maximized on the top or bottom of the screen.

Using either middle or right button also control partial maximization, so you can flip or back to the original size/position.

It's easier to experiment than to explain, so try the same button on a windows which is not tiled.
Comment 2 Thaddaeus Tintenfisch editbugs 2015-05-22 12:03:17 CEST
The following comment was not automatically synchronized by launchpad.
--- 

Mark Underwood (mark-micahangelo84) wrote on 2014-11-03:

If so, why does the left mouse button do nothing or what is that trying to achieve/avoid?

I don't see why this wouldn't work: If left mouse button was pressed while cursor was on the maximize button in a partially maximized window, it would maximize the window and the maximize button would become either the restore button or a new button with unique snapping icon that brings it back to the same place in partial maximization. Alternatively, it would make it a window in the same place.

Enlighten me and don't hold back. Thanks. :)
Comment 3 Olivier Fourdan editbugs 2015-05-22 13:21:56 CEST
(In reply to Thaddaeus Tintenfisch from comment #2)

I understand this might be confusing therefore this was changed in xfce-4.12.

Now in 4.12 pressing the maximize button on a partially maximized window (either vertically or horizontally) will fully maximize the window.

Bug #11262

Reported by:
Mark Underwood
Reported on: 2014-10-31
Last modified on: 2015-05-22

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information