New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 686949 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Mouse is not working properly after dragging radio button to enable "swap the primary mouse button" from md-settings.

Project Member Reported by son...@google.com, Jan 31 2017

Issue description

Chrome Version: 9202.10.0
OS: ChromeOS

What steps will reproduce the problem?
(1)  Sign in to the device.
(2)  Connect any USB mouse.
(3)  Go to "chrome:md-settings"
(4)  enabnle "swap the primary mouse button"
(5)  Use mouse right button to click.

What is the expected result?
Mouse right click should work properly.

What happens instead?
Right click is not working properly.

Please use labels and text to provide additional information.


For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.

 

Comment 2 by ka...@chromium.org, Jan 31 2017

Cc: keta...@chromium.org
Owner: adlr@chromium.org
Status: Available (was: Untriaged)
adlr@ this is currently beta blocking. Will you please take a look and share who the owner should be?

Comment 4 by adlr@chromium.org, Feb 2 2017

Owner: abodenha@chromium.org
abodenha, can you please direct this to whoever is working on md settings?
Labels: -ReleaseBlock-Beta ReleaseBlock-Stable
Owner: adlr@chromium.org
adlr@ I think md-settings is a red-herring here. The issue is that when mouse buttons are swapped the right button isn't working correctly.

sontis@ can you be more specific about what you mean by "not working properly"

Comment 6 by adlr@chromium.org, Feb 3 2017

Owner: sontis@chromium.org
i'm unable to repro this. Sontis, can you show me in person?

Comment 7 by ketakid@google.com, Mar 6 2017

adlr@ do you think this is stable blocking? Should we move the RBS label off?

Comment 8 by adlr@chromium.org, Mar 7 2017

I can't repro this, so I would ask sontis@
sontis@ do you still have a repro for this issue? If not I will remove the RBS label.

Comment 10 by son...@google.com, Mar 7 2017

Owner: ----
I am still able to reproduce this issue on build 9202.50.0

Logs are present at https://pantheon.corp.google.com/storage/browser/chromiumos-test-logs/bugfiles/cros/686949/new/?debugUI=CLOUD

Comment 11 by son...@google.com, Mar 7 2017

Repo steps:

(1)  Sign in to the device.
(2)  Connect any USB mouse.
(3)  Go to "chrome:md-settings"
(4)  enabnle "swap the primary mouse button" using mouse.
(5)  Use mouse right button to click.



Note: This issue is specific to "chrome:md-settings" 

Comment 12 by adlr@chromium.org, Mar 7 2017

Owner: abodenha@chromium.org
Albert, this does look specific to md-settings. So I'm bouncing back to you! If you think it's not md-settings specific, please do a test to confirm.

Thanks!
Labels: -M-57 M-59
Owner: steve...@chromium.org
Status: Assigned (was: Available)
md-settings isn't shipping in 57 so we don't need to block on it.
sontis@ - Could you clarify this a bit more? By "Right click is not working properly", is it as though the setting is being ignored, or does the behavior change in an unexpected way?

abodenha@ - This should be a pretty straightforward bug for anyone with access to a minnie device (or other device with two mouse buttons), if there is someone MTV that has cycles. Otherwise I can see if ejcaruso@ has a device I can borrow.

Comment 15 by son...@google.com, Mar 8 2017

@ comment 14:
Before swapping:                             after swapping:
Left click (working as left button)        Left click (working as right button)
Right click (working as right button)      Right click (Ignored)
Labels: Needs-Feedback
That is.... surprising.

Could you re-confirm that the behavior is MD Settings specific?
i.e. change the setting on the same device / version using both chrome://settings-frame and chrome://md-settings.

Both pages just change a single pref: 'settings.mouse.primary_right'.

Glancing at the code, I don't see how the settings UI could put the device in a halfway state as described.

Owner: abodenha@chromium.org
I can't reproduce this on ToT, or on the latest 57 beta (9202.50.0, Chrome 57.0.2987.94).

-> abodenha@ - I think we need to figure out how to repro this, or borrow the device in question. I can't think of anything else to try here.

sontis@ - When you re-confirm this, can you make sure to try both buttons on a variety of UI, just to ensure that it isn't some other strange behavior in MD Settings that is being exposed?

Owner: sontis@chromium.org
Is this specific to minnie?  I'm unable to repro in Version 57.0.2987.100 beta (64-bit) Platform 9202.51.0 (Official Build) beta-channel samus

Let me see if I can find a minnie to try with. They're in short supply around here at the moment.
Labels: -ReleaseBlock-Stable
Owner: steve...@chromium.org
sontis@ and kalin@ just came by and reproed the issue and now it makes sense.  It's a fun bit of subtlety and not platform dependent.

Updated repro steps:
1: Open md-settings
2: Open the mouse controls section
3: DO NOT simply click the "swap mouse buttons" control.  Instead, DRAG the button from left to right.
4: Left click anywhere in the window.

My theory here is that we get a L-mouse-down and start drag and then at some point during the drag operation the setting is updated; left becomes right and the drag code gets confusticated. Releasing the button now sends a r-mouse-up.

Basically, this is caused by switching the control to a radio button rather than a checkbox and applying the setting immediately.  Doing so means we end up doing "impossible" things with the mouse during the drag.

I'm able to repro on samus.

I'm borderline on calling this release blocking. It's an unlikely state to get into, but it leaves your mouse totally borked until you restart the machine.
Summary: Mouse is not working properly after dragging radio button to enable "swap the primary mouse button" from md-settings. (was: [veyron-minnie] Mouse is not working properly after enabling "swap the primary mouse button" from md-settings.)
Status: Started (was: Assigned)
Status: Fixed (was: Started)

Comment 24 by son...@google.com, Mar 28 2017

Status: Verified (was: Fixed)
Verified on build 9408.0.0

Sign in to add a comment