double tap on touchpad isn't recognized as double click on ubuntu 18.04 bionic

Bug #1762536 reported by beta-tester
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
libinput
Fix Released
Medium
libinput (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Bionic by Daniel van Vugt

Bug Description

i have a Logitech K400 wireless keyboard-touchpad-combo.
https://secure.logitech.com/assets/46733/19/wireless-touch-keyboard-k400r.jpg
ID 046d:c52b Logitech, Inc. Unifying Receiver

up to ubuntu 17.10.1, i hadn't any issues with it using ubuntu.
since ubuntu 18.04 (daily-build / beta2) when do a double tap to the touchpad, it will always be recognized as single click only.

i tried to use ubuntu 18.04 on my notebook and used the notebook's touchpad there.
there, ubuntu 18.04 is recognizing a double tap as double click, when using the notebook's touchpad.
if i connect the Logitek K400 keyboard-touchpad-combo to the notebook and use the K400's touchpad, a double tap is still recognized as single click only.

i tried to change touchpad settings in the ubuntu's settings panel without getting double tap working.
then i installed gnome-tweak-tools and changes touchpad settings in the gnome-tweaks settings panel. aslo without getting double tap recognized as double click.

Revision history for this message
beta-tester (alpha-beta-release) wrote :

attached lsusb output of that Logitech K400 wireless keyboard-touchpad combo.

affects: ubiquity (Ubuntu) → ubuntu
affects: ubuntu → libinput (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please report the bug to the libinput developers here:

  https://bugs.freedesktop.org/enter_bug.cgi?product=wayland&component=libinput

When done, please let us know the ID of the new bug.

Changed in libinput (Ubuntu):
status: New → Incomplete
Revision history for this message
beta-tester (alpha-beta-release) wrote :
Changed in libinput (Ubuntu):
status: Incomplete → New
Changed in libinput (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
beta-tester (alpha-beta-release) wrote :

watching the content of the evemu-record, the only different between double-tap on the touchpad and double-click on the mouse buttons below the touchpad i saw, is the timing.

double-tap is way faster than the double-click.

double-tap: 6ms..11ms between tap-release
vs.
double-click: 79ms..137ms between click-release

going back to ubuntu 18.04 daily-live is made sligktly slower double-tap on the touchpad with the result, that some of the slower double-taps were recognized as double-click.

is there somewhere a kind of "debouncing"-algorithm that let the double-tap recognized as "bouncing" and is filtered out - so it is only seen as single-click... ?

Revision history for this message
beta-tester (alpha-beta-release) wrote :

PS.: confirmed as debouncing bug in libinput.
https://bugs.freedesktop.org/show_bug.cgi?id=105974#c5

Changed in libinput:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in libinput:
status: Confirmed → Fix Released
Revision history for this message
beta-tester (alpha-beta-release) wrote :

libinput10 1.10.5 does have that fix.

seems to be fixed in cosmic ubuntu 18.10 daily since 2018-05-06.
(double tap is working as expected)

but bionic ubuntu 18.04 LTS release still uses libinput10 (1.10.4)
(got no upgrade to 1.10.5 yet)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's correct.

We can, in theory, consider upgrading libinput in 18.04 so long as it's to a bug fix release only. Not a feature release. So yeah we could consider 1.10.5/6 for bionic.

Longer term however it will be interesting to see how we handle bug fixes to bionic's libinput. Especially after the 1.10 series stops getting point releases.

Revision history for this message
Errol Atterbury (errolbury) wrote :

quote from #6
    "libinput10 1.10.5 does have that fix."

The (kubuntu) cosmic-desktop-amd64.iso of 2018-05-26 contains libinput10_1.10.7-1
However... my K400+ still does not perform a classic double-click

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix released in Ubuntu 18.10 cosmic. And Ubuntu 18.04 has been nominated to receive the fix.

Changed in libinput (Ubuntu):
status: Triaged → Fix Released
tags: added: fixed-in-1.10.5
Revision history for this message
Errol Atterbury (errolbury) wrote :

Looking at https://bugs.freedesktop.org/show_bug.cgi?id=105974#c5
I see the problem...
the K400 Plus tag--i.e. LIBINPUT_MODEL_LOGITECH_K400+--has not been added to libinput-model-quirks.hwdb
Next?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Errol, if you feel the fix doesn't work then please comment in:
https://bugs.freedesktop.org/show_bug.cgi?id=105974

Revision history for this message
beta-tester (alpha-beta-release) wrote :

i guess
Logitek K400 and
Logitec K400+ have different device ids
so the fix is only for my Logitek K400 and does not fix the issue for a Logitek K400+.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Good point.

Errol, please report a new bug for the K400+ here:
 https://bugs.freedesktop.org/enter_bug.cgi?product=wayland&component=libinput

Revision history for this message
Errol Atterbury (errolbury) wrote :
Revision history for this message
beta-tester (alpha-beta-release) wrote :

my Logitech K400 still does not react to double tap on ubuntu 18.04.1

so ubuntu 18.04.1 still got no update of libinput to version >=1.10.5

Revision history for this message
Errol Atterbury (errolbury) wrote :

from https://bugs.freedesktop.org/show_bug.cgi?id=106720#c9

"And unless Ubuntu starts shipping git master, there will be bugs that are fixed here but still broken in Ubuntu."

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes, this bug is marked as fixed in Ubuntu 18.10 only. You can tell the fix is missing from 18.04 partly by the "Nominated for Bionic" message at the top.

To get the same fix in Ubuntu 18.04 it's probably helpful to watch bug 1767559.

Revision history for this message
Mike Bandfield (mikeband) wrote :

Try triple-clicking instead of double-clicking. Don't ask how I found this work around but may help others trying to live through this irritating bug.

Revision history for this message
Sebastian (smartin-ubuntu-one) wrote :

This fix is still not available in the 18.04 LTS version. I always thought that LTS was long time support.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Upstream says the fix is in libinput versions 1.10.8 and/or 1.11, so not in Ubuntu 18.04 yet.

You might be able to download a newer version that's already in Ubuntu 18.10/19.04 here:

  https://launchpad.net/ubuntu/+source/libinput

and install that to get the fix.

Revision history for this message
Jörg (joerg-niemoeller) wrote :

Hi,

I experience this issue now with an Logitech K830 and Ubuntu 20.04
Double tap is treated like a single tap. Triple tap works as double.
Double click on the dedicated left mouse button works without issues. Just double tap on the trackpad does not.
I checked this with two different machines running Ubuntu 20.04. Same on both.

The strange thing is that the same K830 that behaves this way in Ubuntu has no issues with double tap in windows 10. So i guess that means it is not an issue with the Keyboard hardware.

The other strange thing is that I have three K830 and only one of them is showing this behavior. The other two work well in Ubuntu and have double tap without issues.

I write this here, because the symptoms in Ubuntu are the same as described by the original poster although the keyboard model is different.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This bug is closed. If you still experience problems then please open a new bug by running:

  ubuntu-bug libinput10

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.