Button 10 doesn’t work with “move window”

Bug #704049 reported by Bogdan Butnaru
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Being affected by bug #704025 I tried changing the trigger for the “move” action to the “tenth” button (it’s the fifth, actually, but the wheel gobbles up five of them).

At first it didn’t work at all. Then I noticed https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/207065/comments/3 and tried it. The button does work, but not for all windows: some windows don’t seem to be moved by (or react in any way to) using that tenth button (I was writing several paragraphs about how I can’t find the rule, but I just realized what it is):

The window that currently has the “focus” can’t be moved. Note that if I move a background window with the tenth button, then that window is raised (and moved), but it does not get focus. That is, the widget that is surrounded by my theme’s “active” color remains in the window that was active before the move operation, the cursor is still there if the active widgets happens to be a text input field, and keyboard events are sent to that window. (Right now I’m typing in Firefox, although the terminal window I moved when starting this paragraph is still above it.)

So, if I left-click on a window, it gets raised and it can’t be moved anymore by the tenth button. (Left-button drag on the title bar always works.) But if I click or drag with the tenth mouse button, the window is raised but not focused, and it can be moved.

(A side effect: if I raise a window above the focused one with the tenth button (that is, without also focusing it), a click (with any button) inside the focused window doesn’t raise it again, presumably because it already has focus. I have to transfer focus to another window and back again to raise it; clicking or dragging on the title bar also works, presumably for the same reason move works in that case.)

I imagine it’s the same problem that causes bug #704025, I just didn’t notice than because button 1 transfers focus, and I didn’t notice the distinction between raising a window and giving it focus.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop4-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 260.19.29 Wed Dec 8 12:08:56 PST 2010
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-1ubuntu5)
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/allscreens/options/active_plugins'
CompositorRunning: compiz
Date: Mon Jan 17 17:55:06 2011
DistUpgraded: Yes, recently upgraded Log time: 2010-08-16 14:31:52.248788
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 260.19.29, 2.6.37-12-generic, x86_64: installed
 vboxhost, 4.0.0, 2.6.37-12-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard: Subsystem: Giga-byte Technology Device [1458:3488]
MachineType: System manufacturer P5Q-PRO
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LC_MESSAGES=en_US.utf8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-12-generic root=UUID=f345b250-3225-489c-a2a5-5c7a2b21a0fd ro vt.handoff=7 vga=892
Renderer: Hardware acceleration
SourcePackage: compiz
UnitySupportTest:

dmi.bios.date: 11/04/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1501
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5Q-PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1501:bd11/04/2008:svnSystemmanufacturer:pnP5Q-PRO:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5Q-PRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: P5Q-PRO
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.libdrm2: libdrm2 2.4.22-2ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx 7.9+repack-1ubuntu3
version.xserver-xorg: xserver-xorg 1:7.5+6ubuntu7
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
Bogdan Butnaru (bogdanb) wrote :
Revision history for this message
Travis Watkins (amaranth) wrote :

This is indeed the same bug but thanks but the extra information.

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.