New window decorations break middle click title bar

Bug #1283849 reported by Alan Pope 🍺🐧🐱 🦄
158
This bug affects 29 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)

Bug Description

On previous versions of Ubuntu without LIM, middle clicking the titlebar would send a window to the back of the stack.
With LIM on Ubuntu 14.04 that no longer works.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity 7.1.2+14.04.20140220-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-11.31-generic 3.13.3
Uname: Linux 3.13.0-11-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,grid,imgpng,gnomecompat,scale,workarounds,mousepoll,regex,wall,move,place,vpswitch,resize,unitymtgrabhandles,snap,session,expo,ezoom,unityshell]
CurrentDesktop: Unity
Date: Sun Feb 23 22:58:06 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-06-29 (604 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: unity
UpgradeStatus: Upgraded to trusty on 2014-01-20 (34 days ago)

Related branches

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremie Tamburini (jeremie2) wrote :

As previously reported on Bug #1282264, the middle click on the title bar still works when windows are maximised.

tags: added: regression-release
Changed in unity (Ubuntu):
importance: Undecided → Medium
tags: added: new-decorations
Revision history for this message
asmoore82 (asmoore82) wrote :

Hard to find but easy to patch :D.

It should be noted that this further breaks user configurability of click actions. But these settings seem to already be ignored in Unity lately with or without LIM.

Revision history for this message
asmoore82 (asmoore82) wrote :

Another thought about the patch, perhaps the function should explicitly return after a call to lower? Changing the "else if" button != 1 to just "if" would catch all cases and return just in case.

And a positive note about the "further breakage" - as is this does at least provide complete consistency with LIM vs. not and maximized vs not.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Quick fix - Lower action is hardcoded in." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in unity:
importance: Undecided → Medium
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
milestone: none → 7.2.1
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in unity:
status: New → In Progress
Changed in unity (Ubuntu):
status: Confirmed → In Progress
summary: - LIM breaks middle click title bar
+ New window decorations break middle click title bar
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.2.0+14.04.20140410.1-0ubuntu1

---------------
unity (7.2.0+14.04.20140410.1-0ubuntu1) trusty; urgency=low

  [ Sami Jaktholm ]
  * Shortcuts: Listen and react to view close requests. (LP: #1297842)

  [ Brandon Schaefer ]
  * When we detect caps lock, or caps lock is pressed, render a warning
    icon to show its on. (LP: #1291737)

  [ Marco Trevisan (Treviño) ]
  * DecorationsGrabEdge, PanelMenuView: perform proper WM action on
    clicks, based on user settings (LP: #1283849)

  [ Alfred Neumayer ]
  * Alt-Tab has always respected the alt-tab-bias-viewport setting, but
    the 3-finger gesture to switch between windows has not, even though
    it does the same thing. They should behave the same way depending on
    the CCSM setting. (LP: #1303060)
  * Launcher: Show and hide the launcher window OnDragUpdate() to fix
    the gesture animations (LP: #1303141)
  * If the dash has not been opened before, a 4 finger tap will result
    in a dash with no selected scope. Instead, set up the window and
    view of the dash by sending DASH_ABOUT_TO_SHOW (same happens when
    hovering the mouse pointer over the BFB icon) and open the home
    scope. (LP: #1303468)

  [ CI bot ]
  * LockScreen: add ability to show without fading in on some system
    calls Also, if locking is not enabled, calling Lock causes the
    screensaver to be initiated. Many cleanups and misc fixes. (LP:
    #1292575)

  [ William Hua ]
  * Enable sound buttons and input source switching under lock screen.

  [ Eleni Maria Stea ]
  * It fixes the quicklist menu appearance. (LP: #1298859)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Thu, 10 Apr 2014 17:43:46 +0000

Changed in unity (Ubuntu):
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.2.1 → 7.2.2
Changed in unity:
status: In Progress → Fix Released
Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

This was actually fixed in 7.2.0.

Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.2.2 → 7.2.1
Revision history for this message
Jeremie Tamburini (jeremie2) wrote :

The middle click problem came back in Ubuntu 15.04.
(Also tried the daily-live "26-Mar iso 64bit")

I had a look into dconf-editor and unfortunately there's no way to set "lower" in /org/gnome/desktop/wm/preferences/action-middle-click-titlebar.

Revision history for this message
Lem (lem-jjr) wrote :

I thought the same thing, but you can set the middle click action to 'lower' via Unity Tweak Tool. I can't remember what section it was in though, possibly in Window Manager -> Additional.

Revision history for this message
Jeremie Tamburini (jeremie2) wrote :

Thank you very much Lem, it works with Unity Tweak Tool.

In the meantime I discovered that it works also running the following command:

$ dconf write /org/gnome/desktop/wm/preferences/action-middle-click-titlebar "'lower'"

It might sound crazy, but this is one of the most important feature to me!
Anyway, it would be nice to have the mid-click on the title bar working again by default :)

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.