Bug 1716761

Summary: Lower stylus button does not work
Product: Red Hat Enterprise Linux 8 Reporter: Peter Hutterer <peter.hutterer>
Component: mutterAssignee: Carlos Garnacho <cgarnach>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact: Apurva Bhide <abhide>
Priority: unspecified    
Version: 8.0CC: abhide, cgarnach, fmuellner, jkoten, lmanasko, mboisver, mclasen, oholy, otte, tpelka
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mutter-3.32.2-20.el8 Doc Type: Known Issue
Doc Text:
.Lower stylus button does not work Cause: In a GNOME Wayland session, the lower button on the stylus does not trigger the correct right-click action. Consequence: As a consequence,the lower button on the stylus defaults to right click. This works in the window decorations and in the side bar but does not work in the main file window. Workaround (if any): Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:09:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1739559    
Attachments:
Description Flags
wacom-intuos-pen.evemu none

Description Peter Hutterer 2019-06-04 05:09:51 UTC
Description of problem:
In a GNOME on Wayland session, the lower button on the stylus does not trigger the correct right-click action.

The lower button on the stylus defaults to right click. This works in the window decorations and it works in the side bar, but not in the main file window.


Version-Release number of selected component (if applicable):
nautilus-3.28.1-5.el8.x86_64

How reproducible:
Plug a tablet in, e.g. Wacom Intuos Pro. Log into GNOME on Wayland, start Nautilus. Place the stylus over an icon and press the lower button on the stylus (not the tip, the lower thumb button). The icon blinks but nothing happens.

Do the same in the sidebar, e.g. over Recent and notice the usual right-click popup menu.

Additional Info:
This also happens on Fedora 30, so it may still be an upstream problem.

Comment 1 Ondrej Holy 2019-06-04 07:57:27 UTC
Philip, can't you please test with nautilus master and file an upstream issue if needed? Unfortunately, I don't own such device for testing - isn't there a way to emulate this somehow?

Comment 2 Peter Hutterer 2019-06-04 08:23:02 UTC
Created attachment 1576940 [details]
wacom-intuos-pen.evemu

This is a recording a single pen into proximity, right click, pen out of proximity. It'll always happen in the same spot, so if you move the window around accordingly, you can test the reactions in various spots.

replay with sudo evemu-play <filename>, then hit enter to trigger the sequence.

Comment 3 Ondrej Holy 2019-06-04 09:18:19 UTC
Great, thanks a lot, I can confirm that I see it even with Nautilus master, so I've also filled an upstream issue for it.

Comment 4 Ondrej Holy 2019-06-04 14:44:24 UTC
It looks like to me as gtk bug, see the upstream issue for more details.

Comment 10 Carlos Garnacho 2019-11-29 23:28:32 UTC
Hmm, too late to tag this bug, but this is the same than #1730891, and also fixed with 3.32.2-19

Comment 12 Michael Boisvert 2019-12-17 15:43:47 UTC
Verified in a Wayland session on mutter-3.32.2-26.el8.x86_64.

Comment 14 errata-xmlrpc 2020-04-28 16:09:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1766