LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2004, 02:13 AM   #1
Seffius
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Mouse clicking has slight delay


Hello! I've been having an interesting problem. Basically, if I make a selection box with my mouse there's a very slight delay before it starts drawing the box (say if I'm trying to select three folders). It's most noticable when I play games (lik eWarcraft), because when I select some workers it doesnt get all the ones I want. Now, I'm not sure what the problem is, but I did notice that I could do a

cat /dev/psaux
cat /dev/usbmouse
cat /dev/mouse

And they all worked and gave me gobbly gook on the screen. I'm relatively newbie to Linux, so I'm not sure if this is normal, or if it's recognizing my mouse three times and causing this delay. Also, in my XF86Config-4 file I have only one mouse listed and currently I'm using it as IMPS/2 and the /dev/usbmouse. Any help would be appreciated!

--Seffius--
 
Old 09-22-2004, 02:57 AM   #2
Mad Processor
LQ Newbie
 
Registered: Aug 2004
Distribution: Ubuntu Hardy Heron
Posts: 9

Rep: Reputation: 0
What distro are you using and what dekstop suite? In both KDE and Gnome you can adjust the delay of the mouse in the control centre.
 
Old 09-23-2004, 10:28 PM   #3
Seffius
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I have Mandrake 10 and running Gnome. I went into the mouse properties in the control center but found nothing there that applies to "click response". The actual mouse speed is fine, it's the response time for when I click thats jacked up (most noticable when moving the mouse and clicking).
Seth
 
Old 10-24-2004, 12:07 PM   #4
gbin
LQ Newbie
 
Registered: Oct 2004
Location: PARIS
Posts: 4

Rep: Reputation: 0
Hi all,

I had an hard time finding on google somebody experiencing the same thing as me ...

So far what I found :

- It does not happen under win XP
- I tried under KDE and GNOME, same behaviour
- I tried to tweak X11 parameters for my Logitech Trackman marble [ Option "Resolution", Option "SampleRate", Option "BaudRate" ], same behaviour
- I switched to a standard USB mouse, same behaviour.

I try to reformulate this poor behaviour because for people unused to responsive GUI it can be hard to differenciate :

When you click AND move the mouse it seems that the "mouse down" event is taken into account at the next mouse point instead of current one.

For every "click and move" gesture it is annoying : you put your pointer on an area, click and move quickly and the system click outside the area (button, window, widget ...)

Each time you click you have to press "hard" = "with a slight pause" the left button in order to be sure to have a correct GUI response.

I hope it makes this problem clearer.

Is there any setting for that in X11 ?

If not, any idea where it is produced in the code ?

GB.

My config :

AMD 64, 1Go RAM, nforce3 chipset.

My distrib :
gentoo [Gentoo Base System version 1.4.16]
xorg-x11-6.8.0-r1
kde-3.3.1
gnome-2.8.0-r1
 
Old 10-27-2004, 12:40 AM   #5
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Rep: Reputation: 15
I fixed my problem by recompiling my kernel with the usb mouse source patch.

http://omfg.linux.dk/pub/configurabl...mouse-polling/
 
Old 10-30-2004, 11:59 AM   #6
gbin
LQ Newbie
 
Registered: Oct 2004
Location: PARIS
Posts: 4

Rep: Reputation: 0
Unhappy

I continued to investigate...

Nothing changed when :

- I tried the patch
- I switched from 64bits to 32bits kernel.
- I switched for an usb mouse
- I tried on another completely different computer with a totally different mouse
- A friend saw the defect and reproduced it on Cygwin (!!) with Xfree86

So it appears that it is not a problem of linux or mouse related pb.

It seems that it is just X11 that doesn't handle that.

Any idea from where it comes from internally ? A late buffer flush when the mouse is clicked ? How it is done in windows ? What misses in X11 ?

You cannot quickly select an url in a browser, move a window or select a series of objects without your mouse clicking centimeters away the point you clicked.

I just wonder... How people can stand this all day long ?

G.B
 
Old 07-15-2006, 02:49 PM   #7
elvanor
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Hi. I have the same exact problem and this is a PAIN when playing Warcraft III. In other circunstances it does not matter as the delay is very small. But I need to get that fixed to be able to play correctly.

What is really strange is that sometimes this phenomen does not appear, sometimes it does. I don't know what cause it to stop (or start). With another mouse problem is the same, so that's a software problem.

I am using kernel 2.6.16.16, XOrg 6.8.2, KDE 3.5 (I don't think that matters) and an USB mouse (on a Gentoo AMD64 system). I am going to try XOrg 7.0 to see if it improves things...

Any help would be GREATLY appreciated.

Elvanor
 
Old 07-15-2006, 06:42 PM   #8
gbin
LQ Newbie
 
Registered: Oct 2004
Location: PARIS
Posts: 4

Rep: Reputation: 0
the solution

You have to force the middle mouse button emulation off (just letting it the default is not enough).

Option "Emulate3Buttons" "no"

This 'feature' adds a slight delay to the click detection I suppose to be sure both buttons have been clicked even if they clicked some ms appart but doesn't delay the processing of other events.

I posted a bug on X11 bugtool and it has been corrected so it should be ok on recent releases of X11.
 
Old 07-16-2006, 03:39 PM   #9
elvanor
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Thanks a lot for the solution. Actually, I didn't try it, since I upgraded today to Xorg 7.0 (from 6.8.2) and the problem seems to be gone, as you said it probably would.

But thanks a lot anyway !!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help to avoid mouse clicking as root! grautu Slackware 2 11-09-2005 06:14 AM
Long delay after clicking on Gnome Icon Lsatenstein Fedora 1 07-11-2005 02:27 AM
hp wireless mouse clicking and scrolling not working blackviper666 Linux - Hardware 0 04-29-2005 07:59 AM
Horrible clicking noise with mouse movement SteelWheel Mandriva 0 06-26-2004 03:01 AM
Mouse clicking problem EnigmaX Linux - Newbie 1 05-20-2004 08:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration