You are not logged in.

#1 2014-09-21 14:43:31

gladixy
Member
Registered: 2014-03-12
Posts: 15

[Solved] Two Finger Right Click not working properly

When I use two fingers to perform a right click for example in chrome, then the context menu appears only for a blink of an eye and disappears directly again. (The issue appears independently from the application - I checked that)

Here is my synclient configuration:

    LeftEdge                = 1310
    RightEdge               = 4826
    TopEdge                 = 2220
    BottomEdge              = 4636
    FingerLow               = 25
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 218
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 282
    EmulateTwoFingerMinW    = 7
    VertScrollDelta         = 99
    HorizScrollDelta        = 99
    VertEdgeScroll          = 0
    HorizEdgeScroll         = 0
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 1
    MaxSpeed                = 1.75
    AccelFactor             = 0.0403307
    TouchpadOff             = 0
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 0
    TapButton2              = 0
    TapButton3              = 0
    ClickFinger1            = 1
    ClickFinger2            = 3
    ClickFinger3            = 2
    CircularScrolling       = 0
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 0
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 8
    VertHysteresis          = 8
    ClickPad                = 0

I'm on a Lenovo T440p. I once got Ubuntu installed on this machine where right click worked properly so I highly suspect it is not a hardware issue.

EDIT:

Using xev and performing a right click results in

EnterNotify event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x0, time 563652, (44,45), root:(1008,83),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 1024

KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys:  4294967263 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   

LeaveNotify event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x0, time 563673, (44,45), root:(1008,83),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 1024

ButtonPress event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x1e00002, time 563673, (44,45), root:(1008,83),
    state 0x0, button 3, same_screen YES

EnterNotify event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x0, time 563673, (44,45), root:(1008,83),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus YES, state 1024

KeymapNotify event, serial 32, synthetic NO, window 0x0,
    keys:  4294967263 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 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x1e00002, time 563693, (44,45), root:(1008,83),
    state 0x400, button 1, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x1e00002, time 563693, (44,45), root:(1008,83),
    state 0x500, button 3, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x1e00002, time 563812, (44,45), root:(1008,83),
    state 0x100, button 1, same_screen YES

LeaveNotify event, serial 32, synthetic NO, window 0x1e00001,
    root 0xdf, subw 0x0, time 563772, (44,45), root:(1008,83),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus YES, state 0

Last edited by gladixy (2014-09-21 20:44:27)

Offline

#2 2014-09-21 15:31:23

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: [Solved] Two Finger Right Click not working properly

The synclient (or /usr/share/X11/xorg.conf.d/50-synaptics.conf) syntax for two-finger right click is "TapButton2=3" (or "TapButton2" "3").

EDIT: Sorry, sorry it's a ClickPad isn't it?
Just ignore me... [walks away mumbling]
hmm

Last edited by Head_on_a_Stick (2014-09-21 15:46:39)

Offline

#3 2014-09-21 16:29:35

gladixy
Member
Registered: 2014-03-12
Posts: 15

Re: [Solved] Two Finger Right Click not working properly

Instead of using execution statements involving

synclient

on startup of X I'm now using /etc/X11/xorg.conf.d/50-synaptics.conf for configuring my settings. This solved the problem.

I realized by the way that in my former setup no matter how many fingers I used for pressing down the ClickPad it did always perform a normal click in addition. That is why the context menu disappeared right away: It performed a mixture of a right and left click.

@Head_on_a_Stick: No Problem, your attempt to help is much appreciated wink

Last edited by gladixy (2014-09-21 16:33:11)

Offline

#4 2015-01-06 20:04:32

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: [Solved] Two Finger Right Click not working properly

I'm having the same (or a very similar) problem, also on a Thinkpad T440p. I don't think I have any special configuration in place, but I'm not sure.

@gladixy, could you kindly explain what you did exactly to solve this?

Offline

Board footer

Powered by FluxBB