Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-06-20 11:46:22

kajman
Member
Registered: 2011-06-20
Posts: 5

Wierd mouse issue (touchpad leftclick causes scroll)

Hi!

I've been expieriencing this wierd mouse issue for some time right now. I'm using Arch Linux, so I update packages frequently, and possibly after some update this came up.

When I click left mouse button on touchpad (it doesn't happen when I just tap the touchpad, or use plugged in mouse) I get left button down/up event, and then something like "scroll down release" event, as seen in xev output:

ButtonPress event, serial 31, synthetic NO, window 0x3400001,
    root 0x123, subw 0x3400002, time 53752826, (43,53), root:(637,372),
    state 0x1010, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x3400001,
    root 0x123, subw 0x3400002, time 53752903, (43,53), root:(637,372),
    state 0x1110, button 1, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x3400001,
    root 0x123, subw 0x3400002, time 53752903, (43,53), root:(637,372),
    state 0x1010, button 5, same_screen YES

This is (rather long) list of packages related to xfce along with version number:

local/exo 0.6.2-1 (xfce4)
local/garcon 0.1.7-3 (xfce4)
local/gtk-xfce-engine 2.8.1-1 (xfce4)
local/libxfce4ui 4.8.0-3
local/libxfce4util 4.8.1-2
local/mousepad 0.2.16-2 (xfce4)
local/orage 4.8.1-2 (xfce4-goodies)
local/ristretto 0.0.93-1 (xfce4-goodies)
local/squeeze 0.2.3-4 (xfce4-goodies)
local/terminal 0.4.7-2 (xfce4)
local/thunar 1.2.2-1 (xfce4)
local/thunar-archive-plugin 0.3.0-1 (xfce4-goodies)
local/thunar-media-tags-plugin 0.1.2.99.git20110129-1 (xfce4-goodies)
local/thunar-thumbnailers 0.4.1-3 (xfce4-goodies)
local/thunar-volman 0.6.0-2 (xfce4-goodies)
local/tumbler 0.1.21-3 (xfce4)
local/xarchiver 0.5.2-2 (xfce4-goodies)
local/xfburn 0.4.3-4 (xfce4-goodies)
local/xfce4-appfinder 4.8.0-1 (xfce4)
local/xfce4-artwork 0.1-6 (xfce4-goodies)
local/xfce4-battery-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-clipman-plugin 1.1.3-2 (xfce4-goodies)
local/xfce4-cpufreq-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-cpugraph-plugin 1.0.1-2 (xfce4-goodies)
local/xfce4-datetime-plugin 0.6.1-1 (xfce4-goodies)
local/xfce4-dev-tools 4.8.0-2
local/xfce4-dict 0.6.0-1 (xfce4-goodies)
local/xfce4-diskperf-plugin 2.3.0-1 (xfce4-goodies)
local/xfce4-eyes-plugin 4.4.1-1 (xfce4-goodies)
local/xfce4-fsguard-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-genmon-plugin 3.3.0-1 (xfce4-goodies)
local/xfce4-mailwatch-plugin 1.1.0-3 (xfce4-goodies)
local/xfce4-mixer 4.8.0-1 (xfce4)
local/xfce4-mount-plugin 0.5.5-1 (xfce4-goodies)
local/xfce4-mpc-plugin 0.3.6-1 (xfce4-goodies)
local/xfce4-netload-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-notes-plugin 1.7.7-2 (xfce4-goodies)
local/xfce4-notifyd 0.2.1-1 (xfce4-goodies)
local/xfce4-panel 4.8.3-1 (xfce4)
local/xfce4-power-manager 1.0.10-2 (xfce4-goodies)
local/xfce4-quicklauncher-plugin 1.9.4-5 (xfce4-goodies)
local/xfce4-screenshooter 1.7.9-2 (xfce4-goodies)
local/xfce4-sensors-plugin 1.2.3-1 (xfce4-goodies)
local/xfce4-session 4.8.1-2 (xfce4)
local/xfce4-settings 4.8.2-1 (xfce4)
local/xfce4-smartbookmark-plugin 0.4.2-9 (xfce4-goodies)
local/xfce4-systemload-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-taskmanager 1.0.0-2 (xfce4-goodies)
local/xfce4-time-out-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-timer-plugin 0.6.1-1 (xfce4-goodies)
local/xfce4-verve-plugin 1.0.0-1 (xfce4-goodies)
local/xfce4-wavelan-plugin 0.5.6-1 (xfce4-goodies)
local/xfce4-weather-plugin 0.7.4-1 (xfce4-goodies)
local/xfce4-xkb-plugin 0.5.4.1-1 (xfce4-goodies)
local/xfce-utils 4.8.2-1 (xfce4)
local/xfconf 4.8.0-1 (xfce4)
local/xfdesktop 4.8.2-2 (xfce4)
local/xfprint 4.6.1-5 (xfce4)
local/xfwm4 4.8.1-1 (xfce4)
local/xfwm4-themes 4.6.0-1 (xfce4)

I think this bug is related to xfce, as it affects every click I make, but I may be wrong of course. Also it is pretty annoying, as I use touchpad very often. Does anyone have a suggestion on how to repair it?

Cheers,
kajman

PS,
link to original post on arch linux forums: https://bbs.archlinux.org/viewtopic.php?id=121124

Offline

#2 2011-06-20 13:31:06

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Wierd mouse issue (touchpad leftclick causes scroll)

Maybe Xfce changed the buttonmap in an incorrect way. Play with the xinput command to get the buttonmap and post it here. With the same tool you can also modify the synaptics settings.

Offline

#3 2011-06-20 13:53:13

kajman
Member
Registered: 2011-06-20
Posts: 5

Re: Wierd mouse issue (touchpad leftclick causes scroll)

Thanks for suggestions, here's my output:

xinput --list
⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                  id=11    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=12    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=13    [slave  pointer  (2)]

The buttonmap seems ok (i think):

xinput get-button-map 11
1 2 3 4 5 6 7 8 9 10 11 12

Some more information from xinput (I don't really know if it's revelant):

xinput --list 11
SynPS/2 Synaptics TouchPad                  id=11    [slave  pointer  (2)]
    Reporting 3 classes:
        Class originated from: 11
        Buttons supported: 12
        Button labels: Button Left Button Middle Button Right Button Wheel Up Button Wheel Down Button Horiz Wheel Left Button Horiz Wheel Right None None None None None
        Button state:
        Class originated from: 11
        Detail for Valuator 0:
          Label: Rel X
          Range: 1472.000000 - 5720.000000
          Resolution: 57000 units/m
          Mode: relative
        Class originated from: 11
        Detail for Valuator 1:
          Label: Rel Y
          Range: 1408.000000 - 4780.000000
          Resolution: 103000 units/m
          Mode: relative

and

xinput --list-props 11
Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (137):    1
    Coordinate Transformation Matrix (139):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    Device Accel Profile (256):    1
    Device Accel Constant Deceleration (257):    2.500000
    Device Accel Adaptive Deceleration (258):    1.000000
    Device Accel Velocity Scaling (259):    12.500000
    Synaptics Edges (260):    1769, 5423, 1644, 4544
    Synaptics Finger (261):    24, 29, 255
    Synaptics Tap Time (262):    180
    Synaptics Tap Move (263):    238
    Synaptics Tap Durations (264):    180, 180, 100
    Synaptics Tap FastTap (265):    0
    Synaptics Middle Button Timeout (266):    75
    Synaptics Two-Finger Pressure (267):    0
    Synaptics Two-Finger Width (268):    6
    Synaptics Scrolling Distance (269):    108, 108
    Synaptics Edge Scrolling (270):    1, 0, 0
    Synaptics Two-Finger Scrolling (271):    1, 1
    Synaptics Move Speed (272):    1.000000, 1.750000, 0.036880, 40.000000
    Synaptics Edge Motion Pressure (273):    29, 159
    Synaptics Edge Motion Speed (274):    1, 433
    Synaptics Edge Motion Always (275):    0
    Synaptics Button Scrolling (276):    1, 1
    Synaptics Button Scrolling Repeat (277):    1, 1
    Synaptics Button Scrolling Time (278):    100
    Synaptics Off (279):    0
    Synaptics Locked Drags (280):    0
    Synaptics Locked Drags Timeout (281):    5000
    Synaptics Tap Action (282):    0, 0, 0, 0, 1, 0, 3
    Synaptics Click Action (283):    1, 1, 1
    Synaptics Circular Scrolling (284):    1
    Synaptics Circular Scrolling Distance (285):    0.100000
    Synaptics Circular Scrolling Trigger (286):    2
    Synaptics Circular Pad (287):    0
    Synaptics Palm Detection (288):    0
    Synaptics Palm Dimensions (289):    9, 199
    Synaptics Coasting Speed (290):    20.000000, 50.000000
    Synaptics Pressure Motion (291):    29, 159
    Synaptics Pressure Motion Factor (292):    1.000000, 1.000000
    Synaptics Grab Event Device (293):    1
    Synaptics Gestures (294):    1
    Synaptics Capabilities (295):    1, 0, 1, 1, 1, 1, 1
    Synaptics Pad Resolution (296):    103, 57
    Synaptics Area (297):    0, 0, 0, 0
    Synaptics Noise Cancellation (298):    27, 27

Is something wrong here or is it something else?

Offline

#4 2011-06-21 09:57:10

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Wierd mouse issue (touchpad leftclick causes scroll)

Maybe disable "Synaptics Button Scrolling"

Offline

#5 2011-06-21 10:26:47

kajman
Member
Registered: 2011-06-20
Posts: 5

Re: Wierd mouse issue (touchpad leftclick causes scroll)

I've changed the property to

    Synaptics Button Scrolling (276):    0, 0

and the behaviour changed a bit, but it is still not working right. Now, instead of scroll down, I get middle-mouse click.
Updated xev output is:

ButtonPress event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82320055, (30,34), root:(878,87),
    state 0x0, button 2, same_screen YES

EnterNotify event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x0, time 82320055, (30,34), root:(878,87),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 512

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  35  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonPress event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82320131, (30,34), root:(878,87),
    state 0x200, button 1, same_screen YES

ButtonRelease event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82320152, (30,34), root:(878,87),
    state 0x300, button 1, same_screen YES

ButtonRelease event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82320152, (30,34), root:(878,87),
    state 0x200, button 2, same_screen YES

LeaveNotify event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x0, time 82320152, (30,34), root:(878,87),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0

for comparison, output from right button is:

ButtonPress event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82434345, (57,36), root:(905,89),
    state 0x0, button 3, same_screen YES

EnterNotify event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x0, time 82434345, (57,36), root:(905,89),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 1024

KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

ButtonRelease event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x4400002, time 82434395, (57,36), root:(905,89),
    state 0x400, button 3, same_screen YES

LeaveNotify event, serial 34, synthetic NO, window 0x4400001,
    root 0x123, subw 0x0, time 82434395, (57,36), root:(905,89),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0

I've also tried to put 0,1 and 1,0 to this property, but it didn't help (and with 1,0 I have the scroll down back, different values at second coord do not change anything in behaviour of right button).

Beside that, I've changed

Synaptics Click Action (283):    1, 1, 1

to some different values (I've put zero instead of one in some combinations), but I think it doesn't change anything here.

Thanks for your reply.
Do you have any other suggestions?

Cheers,
kajman

Offline

#6 2011-06-21 10:36:49

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Wierd mouse issue (touchpad leftclick causes scroll)

"Synaptics Tap Action" handles that iirc. Take a look in man synaptics too.

Offline

#7 2011-06-21 11:10:55

kajman
Member
Registered: 2011-06-20
Posts: 5

Re: Wierd mouse issue (touchpad leftclick causes scroll)

I've read the man pages, and synaptics wiki pages on arch wiki. But the man page for synaptics is a little confusing for me. Also, if I understand correctly, there is nothing there, that sets what action physical buttons should fire. Everything there is about tapping and emulating physical buttons, but my problem is not with tapping but clicking touchpad's physical left button. The tapping action you mention are not connected to clicking physical buttons.

The only thing in man pages connected to physical buttons which I've found is:

Button mapping for physical buttons is handled in the server. If the device is switched to left-handed (an in-server mapping of physical buttons 1, 2, 3 to the logical buttons 3, 2, 1, respectively), both physical and TapButtons are affected. To counteract this, the TapButtons need to be set up in reverse order (TapButton1=3, TapButton2=1).

So I should modify x server config, and maybe something there is set up incorrectly?

Offline

Board footer

Powered by FluxBB