Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192078 - x11-base/xorg-server-1.4 - one mouse click becomes double clicks
Summary: x11-base/xorg-server-1.4 - one mouse click becomes double clicks
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 08:53 UTC by jjmmma
Modified: 2008-10-29 15:55 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Matt's xorg.conf (xorg.conf,4.98 KB, text/plain)
2007-09-11 22:08 UTC, Matteo Sasso
Details
Matt's emerge --info (emerge.info,9.47 KB, text/plain)
2007-09-11 22:09 UTC, Matteo Sasso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jjmmma 2007-09-11 08:53:48 UTC
after emerge xorg-x11-7.3, single mouse click become double clicks, both right and left mouse button become double clicks.

Reproducible: Always

Steps to Reproduce:
1.emerge new xog-x11-7.3 package
2.login into gnome/kde
3.just click the mouse, and nautilus seems not works well.

Actual Results:  
single mouse click become double clicks.

Expected Results:  
single mouse click become double clicks.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-11 09:42:18 UTC
This is NOT a Gentoo Bugzilla product bug; read the descriptions please. Your xorg.conf, please.
Comment 2 Matteo Sasso 2007-09-11 22:06:51 UTC
I experience the same problem. Attaching my xorg.conf & emerge info.
Comment 3 Matteo Sasso 2007-09-11 22:08:54 UTC
Created attachment 130650 [details]
Matt's xorg.conf

BTW, no relevant warnings or errors are shown in xorg's log.
Comment 4 Matteo Sasso 2007-09-11 22:09:35 UTC
Created attachment 130652 [details]
Matt's emerge --info
Comment 5 Matteo Sasso 2007-09-12 07:09:04 UTC
Here's what xev has to say when I click once:

ButtonPress event, serial 31, synthetic NO, window 0x2000001,
    root 0x4e, subw 0x0, time 2123048, (26,140), root:(551,190),
    state 0x10, button 1, same_screen YES

ButtonPress event, serial 31, synthetic NO, window 0x2000001,
    root 0x4e, subw 0x0, time 2123048, (26,140), root:(551,190),
    state 0x110, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2000001,
    root 0x4e, subw 0x0, time 2123152, (26,140), root:(551,190),
    state 0x110, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2000001,
    root 0x4e, subw 0x0, time 2123152, (26,140), root:(551,190),
    state 0x10, button 1, same_screen YES
Comment 6 Matteo Sasso 2007-09-12 07:25:43 UTC
Changing:
InputDevice "Mouse1"
to
InputDevice "Mouse1" "CorePointer"
fixes the problem for me. The new Xorg apparently detects the device twice if it's now the core pointer.

Some people using Ubuntu reported that setting the mouse protocol to "IMPS/2" can sometimes make the problem disappear.
Comment 7 EzInKy 2007-09-20 03:36:34 UTC
Just ran into this the other day after an upgrade. It also caused Firefox menus not to activate, and Konqueror and Opera not to follow links. I can confirm that adding "CorePointer" as above fixed the issue for me on both my Gentoo ~amd64 and Debian Sid installs.
Comment 8 Matteo Sasso 2007-09-20 10:31:14 UTC
I suggest adding a warning.
Comment 9 Jouni Rinne 2007-09-20 12:15:52 UTC
Well, after the upgrade to 7.3 I had the same problem described here, but I ALREADY had the
InputDevice "Mouse0" "CorePointer"
in my xorg.conf...
The problem was resolved after I recompiled xorg-server without HAL support. Strange...
Comment 10 Jouni Rinne 2007-09-20 13:44:37 UTC
After some experimentation I have to clarify my statement:
USE="-hal" fixed the problem when using (only) an USB mouse via evdev, but the problem reappears with ps/2 mouse, if there is anything else than "CorePointer" in the xorg.conf (AlwaysCore doesn't do)
Comment 11 konsti 2007-09-22 15:36:13 UTC
On my x86_64 Computer the addition of "CorePointer" fixed the situation here. Firefox menus did not work, mouse speed doubled and wheel did two steps and such.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2008-01-11 10:34:47 UTC
Any better w/ 1.4.0.90?
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2008-01-11 17:53:07 UTC
The double clicks can happen if both mouse and evdev drivers claim the mouse, so you get the same events from two places. As Jakub mentioned, I think 1.4.0.90 might help that.
Comment 14 Nick Andrade 2008-06-05 05:35:07 UTC
I'm running into this issue still using x11-base/xorg-server-1.4.0.90-r4 & sys-apps/hal-0.5.11-r1.  This is on a Dell D610 laptop with both a trackpoint and touchpad.  I've tried rebuilding xorg-server with HAL disabled, but it didn't work.  It definitely seems like the mouse is detected twice which is causing the issue.  
Comment 15 Matthew Rensberry 2008-06-14 13:43:25 UTC
I was able to resolve this issue by using evdev driver for my usb mouse:

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "evdev"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

And changing my ServerLayout to have:

Section "ServerLayout"
...
	InputDevice    "Mouse0" 	"SendCoreEvents"
        InputDevice    "Synaptics"
...
EndSection
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2008-10-29 15:51:29 UTC
Newer Xorg can now use HAL to add input devices. You can configure HAL to report the correct options for each devices, or you can tell Xorg to ignore HAL.

Just stick this in the ServerLayout section of xorg.conf

   Option   "AutoAddDevices"   "false"

Thanks
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-10-29 15:55:42 UTC
Hum, this bit should be added to the ServerFlags section, not the ServerLayout one.

Thanks