Edge-snapped window's maximize button responds to right instead of left click

Bug #1387533 reported by Mark Underwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfwm4
Fix Released
Low
xfwm4 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xfwm4 4.11.1-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
Uname: Linux 3.13.0-36-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Oct 30 01:13:13 2014
SourcePackage: xfwm4
UpgradeStatus: Upgraded to trusty on 2014-04-19 (194 days ago)

Revision history for this message
Mark Underwood (mark-micahangelo84) wrote :
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/Xfce. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Revision history for this message
In , Mark Underwood (mark-micahangelo84) wrote :

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

Revision history for this message
Mark Underwood (mark-micahangelo84) wrote :

Okay. I submitted an upstream bug report for this. The URL is:
https://bugzilla.xfce.org/show_bug.cgi?id=11262

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

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.

Changed in xfwm4:
importance: Unknown → Low
status: Unknown → Confirmed
Revision history for this message
In , Mark Underwood (mark-micahangelo84) wrote :

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. :)

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

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. :)

Revision history for this message
In , Olivier Fourdan (fourdan) wrote :

(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.

Changed in xfwm4:
status: Confirmed → Fix Released
Revision history for this message
Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

You can upgrade to Xfce 4.12 by using the following PPA:

https://launchpad.net/~xubuntu-dev/+archive/ubuntu/xfce-4.12

Please verify that this bug is indeed fixed.

Revision history for this message
Mark Underwood (mark-micahangelo84) wrote :

I upgraded to Xfce 4.12 via the PPA and did some testing with as many installed programs could find that can be resized.

Most of them did not have the issue at all. It was intermittent, so who knows...

I believe Blender had the issue the first time I tested it when I snapped it to a side but it did not occur again with the same program instance. I'm not sure if it was just a one-time graphical glitching.

However, Chromium 43.0.2357.130 Ubuntu 14.04 (64-bit) consistently has this issue when snapping to a left or right side edge, it will show the maximize button and left clicking it has no effect while snapped left or right. Closing and relaunching does not fix it for Chromium.

"xfwm4 -V" gives me:
<quote>
 This is xfwm4 version 4.12.3 (revision 7fdcb53) for Xfce 4.12
 Released under the terms of the GNU General Public License.
 Compiled against GTK+-2.24.23, using GTK+-2.24.23.

 Build configuration and supported features:
 - Startup notification support: Yes
 - XSync support: Yes
 - Render support: Yes
 - Xrandr support: Yes
 - Embedded compositor: Yes
 - KDE systray proxy (deprecated): No
</quote>

Revision history for this message
In , Mark Underwood (mark-micahangelo84) wrote :

I noticed that the maximize button remains when a window is snapped to a corner.

Here is a repost from one I just did on launchpad:

I upgraded to Xfce 4.12 via the PPA and did some testing with as many installed programs could find that can be resized.

Most of them did not have the issue at all. It was intermittent, so who knows...

I believe Blender had the issue the first time I tested it when I snapped it to a side but it did not occur again with the same program instance. I'm not sure if it was just a one-time graphical glitch.

However, Chromium 43.0.2357.130 Ubuntu 14.04 (64-bit) consistently has this issue when snapping to a left or right side edge, it will show the maximize button and left clicking it has no effect while snapped left or right. Closing and relaunching does not fix it for Chromium.

"xfwm4 -V" gives me:
<quote>
 This is xfwm4 version 4.12.3 (revision 7fdcb53) for Xfce 4.12
 Released under the terms of the GNU General Public License.
 Compiled against GTK+-2.24.23, using GTK+-2.24.23.

 Build configuration and supported features:
 - Startup notification support: Yes
 - XSync support: Yes
 - Render support: Yes
 - Xrandr support: Yes
 - Embedded compositor: Yes
 - KDE systray proxy (deprecated): No
</quote>

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Closing this report. If there are still unfixed corner cases left, please let us know.

Changed in xfwm4 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.