FS#48615 - [xf86-input-libinput] gedit spell-check context menu fails w/ "two-finger" right-click on touchpad

Attached to Project: Arch Linux
Opened by Jashandeep Sohi (jashandeep-sohi) - Wednesday, 16 March 2016, 23:53 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 18 February 2017, 21:11 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Jan Alexander Steffens (heftig)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I'm having a really *strange* issue.
I'm not able to correct spellings using the builtin spell-check plugin if I "right-click" on the words using a two-finger touch on my touchpad.
The context menu with the suggested spellings does pop-up, but when I select a suggestion nothing changes.
The strange thing is, if I use an actual right-click (i.e. click down on the right-click button) everything works as it should.

Not sure if this is a problem w/ the plugin, the way libinput is setup on Arch, or specifically w/ my touchpad, so I'm posting here.
Could someone else reproduce this, so I could push this issue upstream if needed.

I should also mention, this is a new laptop so I'm not able to say if the two-finger right-click ever worked.

Additional info:
- gedit 3.18.3-1 (x86_64)
- libinput 1.2.2-1
- xf86-input-libinput 0.17.0-1


Steps to reproduce:
- Open Gedit
- Turn on spell-check plugin
- Check "Tools -> Highlight Misspelled Words"
- Type misspelled word
- Right-click (two-fingered) on misspelled word
- Pick a suggested spelling and enjoy the bug
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 18 February 2017, 21:11 GMT
Reason for closing:  No response
Comment by Doug Newgard (Scimmia) - Thursday, 17 March 2016, 14:32 GMT
Does it work if you use evdev and/or synaptic drivers instead of libinput?
Comment by Jashandeep Sohi (jashandeep-sohi) - Thursday, 17 March 2016, 21:44 GMT
@Doug
Yes, evdev + synaptics works!

Now the question is, is this is a bug with libinput or how the gedit plugin is interpreting the input events.
I don't *think* its libinput, because I'm not seeing this behaviour in any other application (i.e. Firefox spell-check works as expected).
Comment by mattia (nTia89) - Thursday, 14 July 2016, 15:11 GMT
I confirm the bug on my system:

gedit 3.20.2-1
gedit-plugins 3.20.0-1
libinput 1.3.3-1
xf86-input-libinput 0.19.0-1

my hardware (mostly due to touchpad guilt...) is a Dell XPS 13 9343

PS: I tested this issue in firefox too, and no problem I encountered
Comment by Andreas Radke (AndyRTR) - Friday, 15 July 2016, 11:55 GMT
Ask Peter Hutterer, the X input stack maintainer, if this is a bug - e.g. use the Xorg mailing lists.

Loading...