Bug 107952 - Click and drag on ThinkPad T480s doesn't work
Summary: Click and drag on ThinkPad T480s doesn't work
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: XWayland (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 18:32 UTC by Jakub Schmidtke
Modified: 2018-11-06 23:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Recording of the events (82.13 KB, text/plain)
2018-09-16 18:32 UTC, Jakub Schmidtke
Details

Description Jakub Schmidtke 2018-09-16 18:32:12 UTC
Created attachment 141591 [details]
Recording of the events

Under Windows, as well as on my old laptop, when I click on the touchpad and keep it "clicked" with one finger, I can then drag the object with my swiping with my other finger. On T480s it doesn't work. The cursor doesn't move at all,
although I can see it changing shape when the drag happened on the top bar of a window.

libinput-1.12.0

Device 'Elan Touchpad':
        Device Enabled (174):   1
        Coordinate Transformation Matrix (176): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        libinput Tapping Enabled (328): 1
        libinput Tapping Enabled Default (329): 0
        libinput Tapping Drag Enabled (330):    1
        libinput Tapping Drag Enabled Default (331):    1
        libinput Tapping Drag Lock Enabled (332):       0
        libinput Tapping Drag Lock Enabled Default (333):       0
        libinput Tapping Button Mapping Enabled (334):  1, 0
        libinput Tapping Button Mapping Default (335):  1, 0
        libinput Natural Scrolling Enabled (310):       0
        libinput Natural Scrolling Enabled Default (311):       0
        libinput Disable While Typing Enabled (336):    1
        libinput Disable While Typing Enabled Default (337):    1
        libinput Scroll Methods Available (312):        1, 1, 0
        libinput Scroll Method Enabled (313):   1, 0, 0
        libinput Scroll Method Enabled Default (314):   1, 0, 0
        libinput Accel Speed (319):     0.000000
        libinput Accel Speed Default (320):     0.000000
        libinput Left Handed Enabled (324):     0
        libinput Left Handed Enabled Default (325):     0
        libinput Send Events Modes Available (295):     1, 1
        libinput Send Events Mode Enabled (296):        0, 0
        libinput Send Events Mode Enabled Default (297):        0, 0
        Device Node (298):      "/dev/input/event7"
        Device Product ID (299):        1267, 32
        libinput Drag Lock Buttons (326):       <no items>
        libinput Horizontal Scroll Enabled (327):       1

Lenovo Thinkpad T480s (20L7CTO1WW)

/sys/class/dmi/id/modalias:
dmi:bvnLENOVO:bvrN22ET48W(1.25):bd07/18/2018:svnLENOVO:pn20L7CTO1WW:pvrThinkPadT480s:rvnLENOVO:rn20L7CTO1WW:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:

The touchpad area (without the physical buttons) is 100x63mm.

I attached a recording of that event - this is a click and a drag down-right a little bit. When I do the same thing with my mouse, it moves the window.
With the touchpad I saw the "dragging icon", but the window did not move.

However, if I click (and hold it pressed) and drag with the same finger - it does work. But it is very uncomfortable to do...

Also, the click-and-drag works with mtrack, on the same device and the same DE (Plasma).
Comment 1 Jakub Schmidtke 2018-09-16 18:38:31 UTC
And a couple more observations.
I thought it might be "disable while typing", but changing that property doesn't help.
When I do the same thing, but use a physical button to click, I can drag things around using the touchpad.
Also, it looks like "Dragging" while pressing the touchpad with the other finger makes the content scroll instead (so I guess it registers as two finger scroll?).
Comment 2 Jakub Schmidtke 2018-10-23 04:33:46 UTC
Is this project even alive?
Comment 3 p.kallnbach 2018-11-06 22:17:06 UTC
Hi Jakub,

I think the entire libinput community has moved over to gitlab in the meantime. I do have the exact same issue as you do though, same Thinkpad model and everything, so I might open an report over there and link to your explanations here.

Cheers,
Paul
Comment 4 Peter Hutterer 2018-11-06 23:00:50 UTC
"Is this project even alive?"

yes, please see https://wayland.freedesktop.org/libinput/doc/latest/reporting-bugs.html, we're on gitlab now. You filed the bug against XWayland which is an x server implementation using Wayland as the rendering protocol (-ish) and has nothing to do with libinput. Hence no response (because it too is severely understaffed).

Paul has opened a bug for you here: https://gitlab.freedesktop.org/libinput/libinput/issues/177


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.