Horizontal scroll on maximize/restore window control restores window.

Bug #809717 reported by Otus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Fix Released
Undecided
Unassigned
Unity
Fix Released
Undecided
Unassigned
nux (Ubuntu)
Undecided
Unassigned
unity (Ubuntu)
Undecided
Unassigned

Bug Description

To reproduce: maximize a window, move the mouse cursor to the maximize/restore window control (the square) and use the horizontal scroll with the mouse. The window restores to non-maximized state.

This is annoying with a mouse where tilting the middle button/scroll wheel scrolls horizontally. It is easy to do by accident when trying to send the window to background. I imagine touchpads are likewise affected, e.g. when trying to hit the close button.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.16-0ubuntu1~natty1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
Date: Wed Jul 13 09:00:40 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Otus (jan-varho) wrote :
Revision history for this message
Omer Akram (om26er) wrote :

In Ubuntu 11.10 beta I cannot reproduce this bug though I can create bug 775872 Could you confirm if the issue happens for you in 11.10 beta?

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Otus (jan-varho) wrote :

I don't have an oneiric installation to test right now, but at least on natty it actually requires a "double scroll" - i.e. two scroll events within the double click time. If you don't have a mouse with horizontal scroll, using xmodmap to remap mouse buttons also works.

In fact, I think both this bug and 775872 are the same bug: the global menu treats any Button Press event except for buttons 3-5 (middle click, vertical scroll) the same as 1 and 2 (left and right click) and opens a menu / restores the window. The same is true for indicators.

To reproduce you can e.g.

xmodmap -e 'pointer = 1 2 3 6 7 4 5'

and scroll over the global menu or

xmodmap -e 'pointer = 11 2 3 4 5 6 7 8 9 10 1'

and left click.

(xmodmap -e 'pointer = 1 2 3 4 5 6 7 8 9 10 11' restores to normal.)

Revision history for this message
Andrea Azzarone (azzar1) wrote :

Currently horizontal scroll restores a maximized only if the mouse is inside the maximize/restore window control (the square). The horizontal scroll in the application/global menu opens it (bug #775872) while the horizontal scroll in the minimize window control (-) blows up unity.

summary: - Horizontal scroll in global menu restores window
+ Horizontal scroll on maximize/restore window control restores window.
Changed in unity:
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
description: updated
Andrea Azzarone (azzar1)
Changed in nux:
status: New → Confirmed
Didier Roche (didrocks)
Changed in nux (Ubuntu):
status: New → Confirmed
Andrea Azzarone (azzar1)
Changed in unity:
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: Confirmed → Invalid
Changed in nux:
status: Confirmed → Fix Committed
Changed in nux (Ubuntu):
status: Confirmed → Fix Committed
Gord Allott (gordallott)
Changed in unity:
status: Invalid → Won't Fix
status: Won't Fix → Fix Committed
milestone: none → 5.0.0
Didier Roche (didrocks)
Changed in nux:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nux - 2.0.0-0ubuntu1

---------------
nux (2.0.0-0ubuntu1) precise; urgency=low

  [ Aurélien Gâteau ]
  * New upstream release:
    - compiz crashed with SIGSEGV in nux::ROProperty<std::string>::operator
      std::string() (LP: #881106)
    - compiz crashed with SIGSEGV in
      nux::WindowCompositor::FindKeyFocusAreaFrom() (LP: #860852)
    - compiz crashed with SIGSEGV in nux::Area::FindKeyFocusArea()
      (LP: #848952)
    - compiz crashed with SIGILL in typeinfo for std::ostream() (LP: #849881)
    - compiz crashed with SIGSEGV in nux::WindowThread::IsInsideLayoutCycle()
      (LP: #864686)
    - Select quicklist items with just one right click (LP: #688830)
    - OnMouseDoubleClick in InputArea isn't working (LP: #708020)
    - Menubar - horizontal scroll over a menu opens it (LP: #775872)
    - Clicking on a dash category header should not give it keyboard focus
      (LP: #905921)
    - Horizontal scroll on maximize/restore window control restores window.
      (LP: #809717)
    - Horizontally scrolling while highlighting an item in the dash or on an
      indicator will open the item. (LP: #837004)
    - compiz crashed with SIGSEGV in free() (LP: #864446)
    - Mouse wheel doesn't works if the mouse pointer is inside dash scrollbar.
      (LP: #888819)
  * debian/rules, debian/control:
    - add nuxabiversion capability as upstream is breaking a lot the ABI
      wasn't bumping the soname. Create a virtual package similar to what
      we already do in compiz to ensure we dep on the right version.
      Remove the makeshlibs override then as not needed anymore.
    - bump to nux 2.0 with new libnux-2.0-0, libnux-2.0-common, libnux-2.0-dev
      packages. Make the necessary changes in .install files as well
    - don't ship anymore the -doc package.
  * debian/nux-tools.install:
    - move the apport file there instead of the -common package to enable
      co-instability
 -- Didier Roche <email address hidden> Fri, 13 Jan 2012 09:04:48 +0100

Changed in nux (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers