Summary: | [regression] Middle-click emulation broken | ||
---|---|---|---|
Product: | Wayland | Reporter: | Sami B. <spidermario> |
Component: | libinput | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | peter.hutterer |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Sami B.
2017-11-03 22:59:59 UTC
Sorry, I realized that the patch I pointed to has not been merged yet. I will try to bisect the issue later today. I haven’t been able to reproduce the issue. I suppose that it was the reboot that fixed the issue, with nothing to do with libinput. Sorry for the noise. Someone on IRC just mentioned a very similar problem (left click -> buttonpress 1, buttonrelease 1; right click -> buttonpress 3, buttonrelease 3; left+right click -> buttonpress 1, buttonpress 3, buttonrelease 1) which was solved by unplugging the mouse and plugging it back in, so there might be a recent regression after all. If it happens to me again, I will try to use evemu to capture the problem. Could the problem be caused by libinput entering “debounce mode” for the device, following https://github.com/wayland-project/libinput/commit/55d1bb1217388e99b9405654c14881a9ebf8f880? could be, though button bouncing generally stops when the button numbers are mixed. I recommend running libinput debug-events --verbose because it'll print when debouncing activates. Run evemu-record with the --autorestart flag, that way you can leave it running with a short pause to get a new recording. It'll help produce a short recording to reproduce the issue. Also, libinput-debug-events can be run from the build tree without the need for restarting the session etc, making it ideal for e.g. bisecting. probably a dupe of bug 103636. There's a patchset+branch to rework the debouncing code here: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035782.html please give that one a test, thanks. closing after a month in needinfo |
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.