Bug 1402353

Summary: Wireless Mouse: Primary mouse button setting reverts to left from right after resuming from suspend in Xorg session
Product: [Fedora] Fedora Reporter: iamesumsy
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:51:15 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:
Attachments:
Description Flags
When I unplug then plug in the USB dongle for the wireless mouse, these messages are output none

Description iamesumsy 2016-12-07 10:21:28 UTC
Created attachment 1229019 [details]
When I unplug then plug in the USB dongle for the wireless mouse, these messages are output

Description of problem:

Ever since upgrading from Fedora 24, my wireless mouse (non-Bluetooth w/ USB receiver dongle) would switch from having the right button as the primary to the left button every time I resume from suspend.

To workaround, I've had to go back into Gnome settings where the primary button setting is actually still set to the right button, toggle it to left, then back to right.

The issue does not occur on startup/shutdown or login/logout, but does occur every time I plug in/out the dongle as well. Furthermore, the issue does not occur with a regular wired USB mouse I have.

The issue does not occur in Wayland.


Version-Release number of selected component (if applicable):`gnome-shell --version`=GNOME Shell 3.22.2

How reproducible: Every time.

Steps to Reproduce:
1. With usb dongle for wireless mouse plugged in and functioning, switch primary button to right in GNOME settings
2. Suspend and Resume machine

Actual results: Primary button is set to left mouse button

Expected results: Primary button should stay set to right mouse button.

Additional info:
Available settings under "Mouse & Touchpad" are limited to "General" with wireless mouse, while with wired mouse, the additional "Mouse" section is available for controlling mouse sensitivity etc.

Attached log records for when I unplug then plug in the USB dongle for the wireless mouse

Comment 1 iamesumsy 2016-12-07 10:55:42 UTC
Just installed a batch update and I can only presume that the update of package xorg-x11-drv-libinput to version 0.22.0-3.fc25 fixed the issue -- resuming no longer causes the primary button to switch.

However, I'm still able to reproduce the issue by unplugging and plugging in the dongle.

The issue as described in the title is fixed, but I'll leave it for someone to review in case it's of any salience..

Comment 2 Fedora End Of Life 2017-11-16 19:47:01 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2017-12-12 10:51:15 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.