← Back to team overview

dx-packages team mailing list archive

[Bug 207065] Re: Bad Compiz Bindings Bug

 

** Changed in: compiz
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to compizconfig-backend-gconf in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/207065

Title:
  Bad Compiz Bindings Bug

Status in Compiz:
  Fix Released
Status in “compizconfig-backend-gconf” package in Ubuntu:
  Fix Released
Status in “compizconfig-backend-gconf” source package in Lucid:
  Fix Released

Bug description:
  Binary package hint: compiz

  I'm currently using hardy with all updates.

  1. alt+leftclick I can drag the window around.
  2. alt+rightclick brings up the window menu (minimise, unmaximise, etc).
  3. alt+middleclick allows me to resize the window.

  I would like actions 2 and 3 switching around.

  So, I installed compiz-settings-manager as I saw no other way to
  change this.

  The bindings in ccsm looked ok.

  Move Window -> Initiate Window Move : <Alt>Button1
  Resize -> Bindings -> Initiate Window Resize : <Alt>Button2
  General Options -> Window Menu : <Alt>Button3

  So it seems that my Button2 and Button3 are switched.

  Ok, so I'll just swap the bindings.

  Set General Options -> Window Menu = <Alt>Button2

  "The new value for the Button binding for the action Window Menu in plugin General Options conflicts with the action Initiate Window Resize of the Resize Window plugin.
  Do you wish to disable Initiate Window Resize in the Resize Window plugin?"

  I click "Set Window Menu anyway", and it looks like it's set. But If I
  go back to the main menu and then back to General Options it has set
  back to <Alt>Button3.

  Instead I tried to simply disable the Window Menu binding as I don't use it anyway.
  Again, it looks to have worked. Says disable in the box. But now strangely I cant left click... anywhere! This is why I set the topic title to bad - if I were a new user a complete reinstall would be my solution to this.

  Luckily I notice alt+leftclick is now my leftclick. If I navigate to
  the main menu using alt+leftclick and then go back to General Options
  I see Window Menu is not disabled, but set to Button3 (No <Alt>
  modifier)?!?!

  Instead of disabling it I try to set it to <Alt>Button9 as this is
  unused and again it looks well, but is still bound to <Alt>Button3.

  I tried just changing the modifier of Window Menu and this worked, but
  it changed the modifier of the other bindings too (window move, window
  resize).

  This is a very annoying bug as I've used linux for a while now and I
  am used to alt+rightclick resizing!

  Is there any config file I can edit manually until this is fixed.

  Thanks in advance,
  Danny

  ---------------------

  Edit by Mike Schiraldi: Adding a test case per bdmurray's request

  Steps to reproduce:

  1. Run "ccsm"
  2. Swap the bindings for Resize Window (initially Alt-Button2) and Window Menu (initially, Alt-Button3)

  Expected results: The bindings are swapped, and if you launch ccsm
  again, your changes are there

  Actual results: The bindings are not swapped, and if you launch ccsm
  again, your changes were ignored

  Step 2 is a bit complicated, so I'll go into further detail:

  2.1 Under "General" click "General Options"
  2.2 Select the "Key bindings" tab
  2.3 Next to "Window Menu" there should be a button that says, "<Alt> Button3". Click this.
  2.4 Use the selection dropdown to change the binding from Alt-Button3 to Alt-Button2, and click OK
  2.5 You will get a popup saying that Alt-Button2 is already bound to Initiate Window Resize. Click the "Disable Initiate Window Resize" to resolve the conflict.
  2.6 Back in the original ccsm window, click Back in the lower-left corner
  2.7 Click the "Window Management" category
  2.8 Click "Resize Window"
  2.9 Next to "Initiate Window Resize" there should be a button that says, "<Alt> Button2". Click this. Oddly, it shows up as being enabled, even though you disabled it in Step 2.5.
  2.10 Use the selection dropdown to change the binding from Alt-Button2 to Alt-Button3, and click OK
  2.11 You will get a popup saying that Alt-Button3 is already bound to Initiate Window Resize, even though we supposedly changed this binding in Step 2.4. Click "Set Initiate Window Resize anyway"
  2.12 Note that the binding displayed for "Initiate Window Resize" is "<Alt> Button3", which is supposed to mean that Alt-Right-Mouse-Button should initiate window resizes now.
  2.13 Click Back in the lower-left corner
  2.14 Click Close in the lower-left corner

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/207065/+subscriptions