void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.6k stars 2.17k forks source link

libinput 1.17.1_1 update causes Firefox to instantly select the first option on right click #30049

Closed pyramidhead52 closed 2 years ago

pyramidhead52 commented 3 years ago

The new 1.17.1 update of libinput package sometimes causes Firefox to instantly select the first option on right click actions. It's all fine on 1.16.4.

Package: libinput Version: 1.17.1_1 (1.16.4_1 is fine) WM: bspwm

ericonr commented 3 years ago

This might be an X only thing :/

Can you share details about your device? Touchpad/mouse etc?

pyramidhead52 commented 3 years ago

Device: Huawei Matebook D 14 AMD Ryzen 5 3500u

I'm just using my touchpad's two finger right click function, no mouse.

sudo dmesg | grep touchpad

input: ELAN2204:00 04F3:3109 Touchpad as /devices/platform/AMDI0010:01/i2c-11/i2c-ELAN2204:00/0018:04F3:3109.0001/input/input13
input: ELAN2204:00 04F3:3109 Touchpad as /devices/platform/AMDI0010:01/i2c-11/i2c-ELAN2204:00/0018:04F3:3109.0001/input/input16
cat /etc/X11/xorg.conf.d/30-touchpad.conf

Section "InputClass"
    Identifier "libinput touchpad catchall"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "Tapping" "on"
    Option "NaturalScrolling" "true"
EndSection

I've downgraded to 1.16.4 and it works just fine. I think it's related to these 1.17 changes:

https://www.phoronix.com/scan.php?page=news_item&px=Libinput-1.17-Released

ericonr commented 3 years ago

Out of curiosity, have you tried without that config file?

pyramidhead52 commented 3 years ago

I just tried, the problem persists without that config file.

NeelChotai commented 3 years ago

Setting ui.context_menus.after_mouseup to true in about:config should fix it.

paper42 commented 3 years ago

Is this still happening? We now have 1.18.1 and will soon update to 1.19.1 (#33489). If this is still happening, could you test the 1.19.1 PR?

leahneukirchen commented 3 years ago

Cannot reproduce with Firefox 93, libinput 1.19.1, xorg-server 1.20.13, on a Synaptics TM3276-022 or a Logitech MX Ergo.

Right-clicking simply makes the menu appear.