You are not logged in.

#1 2018-05-02 19:54:30

Moyamo
Member
Registered: 2012-01-20
Posts: 10

[SOLVED] Cannot click and drag using middle mouse button on trackpad.

I have a Lenovo Thinkpad with three buttons above the trackpad: left, middle and right.

Picture of Lenovo Thinkpad with three butons.

I cannot click and drag using the middle mouse button.

Using xev and libinput-debug-events I've found that when clicking and holding the middle mouse button no events fire. When the button is released both the press event and the release event are fired. I looked through the libinput(4) man page and there doesn't seem to be any setting controlling this behaviour.

Any ideas on how to fix this?

$ xinput list-props "12"
Device 'AlpsPS/2 ALPS DualPoint TouchPad':
        Device Enabled (142):   1
        Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (295): 0
        libinput Tapping Enabled Default (296): 0
        libinput Tapping Drag Enabled (297):    1
        libinput Tapping Drag Enabled Default (298):    1
        libinput Tapping Drag Lock Enabled (299):       0
        libinput Tapping Drag Lock Enabled Default (300):       0
        libinput Tapping Button Mapping Enabled (301):  1, 0
        libinput Tapping Button Mapping Default (302):  1, 0
        libinput Natural Scrolling Enabled (277):       0
        libinput Natural Scrolling Enabled Default (278):       0
        libinput Disable While Typing Enabled (303):    1
        libinput Disable While Typing Enabled Default (304):    1
        libinput Scroll Methods Available (279):        1, 1, 0
        libinput Scroll Method Enabled (280):   1, 0, 0
        libinput Scroll Method Enabled Default (281):   1, 0, 0
        libinput Click Methods Available (305): 1, 1
        libinput Click Method Enabled (306):    1, 0
        libinput Click Method Enabled Default (307):    1, 0
        libinput Middle Emulation Enabled (284):        0
        libinput Middle Emulation Enabled Default (285):        0
        libinput Accel Speed (286):     0.000000
        libinput Accel Speed Default (287):     0.000000
        libinput Left Handed Enabled (291):     0
        libinput Left Handed Enabled Default (292):     0
        libinput Send Events Modes Available (262):     1, 1
        libinput Send Events Mode Enabled (263):        0, 0
        libinput Send Events Mode Enabled Default (264):        0, 0
        Device Node (265):      "/dev/input/event9"
        Device Product ID (266):        2, 8
        libinput Drag Lock Buttons (293):       <no items>
        libinput Horizontal Scroll Enabled (294):       1

Last edited by Moyamo (2018-06-13 21:28:32)

Offline

#2 2018-05-05 17:02:26

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

I have a Thinkpad X220 with the same trackpad as yours. I never really use the middle button but I can drag and drop by just double clicking on the main pad but not releasing the finger off the pad on the second click. Then the file sticks on the second click and I can move it around. Have you tried doing that?
With multiple files, I select the files with Ctrl and then double click as above and then I can move the files.
I've never really learned what the middle button is for.

Offline

#3 2018-05-05 17:13:54

Moyamo
Member
Registered: 2012-01-20
Posts: 10

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

I actually have a different Thinkpad model (that picture was just a stock image). Click and drag works for the left mouse button. It's just the middle mouse button where click and drag is not working correctly (Middle mouse button drag is used in video editing software like blender).

Offline

#4 2018-05-05 22:47:15

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,563

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

Can you cdrag and drop on the main pad as I described?

Offline

#5 2018-05-06 09:18:12

Moyamo
Member
Registered: 2012-01-20
Posts: 10

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

Yes.

Offline

#6 2018-05-08 10:20:54

radiomike
Member
Registered: 2013-12-19
Posts: 73

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

Couple of options to try.

Enable middle button emulation, then see if same behaviour. Middle click will be both left and right buttons together.

Does diabling "tapping drag" have any effect?

Lastly, have you tried the synaptics driver, does this work?

Offline

#7 2018-06-13 21:15:04

Moyamo
Member
Registered: 2012-01-20
Posts: 10

Re: [SOLVED] Cannot click and drag using middle mouse button on trackpad.

I figured it out. The problem is related to On-Button Scrolling (See the note).

This can be disabled by issuing the command like

xinput set-prop 'AlpsPS/2 ALPS DualPoint Stick' 'libinput Scroll Method Enabled' 0 0 0

which disables all scrolling methods including On-Button Scrolling.

Offline

Board footer

Powered by FluxBB