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

Issue 637637 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Wrong mouse cursor (stuck to arrow icon) browser-wide after using pointer lock API

Reported by ivan@ludios.org, Aug 15 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2824.0 Safari/537.36

Steps to reproduce the problem:
1. Install google-chrome-stable (52.0.2743.116 (64-bit)) or google-chrome-unstable (54.0.2824.0 dev (64-bit)) on Ubuntu 16.04.

2. Open https://mdn.github.io/pointer-lock-demo/

3. Click inside the black rectangle to engage the pointer lock.

4. Press ESC to end the pointer lock.

5. Open another tab, mouse over an href, notice the cursor is always the arrow icon instead of the pointing-finger icon.

What is the expected behavior?
Mouse cursor changes

What went wrong?
Mouse cursor is stuck to arrow icon, browser-wide, after using pointer lock

Did this work before? N/A 

Chrome version: 54.0.2824.0  Channel: dev
OS Version: xubuntu 16.04
Flash Version:
 
Cc: durga.behera@chromium.org
Components: -UI IO>MouseLock
Labels: Needs-Feedback M-52
Unable to reproduce the issue on Ubuntu 14.04 using 52.0.2743.116,could you please review the attached screen cast and update the thread if anything is missed here.
Else may be specific to Ubuntu 16.04.
637637_Aug_19.ogv
1.7 MB View Download

Comment 2 by ivan@ludios.org, Aug 19 2016

Thanks for testing and sorry about the insufficient repro instructions!

After some experimentation, I realized this only happens when the device scale factor is not 1.0.  So this should repro with Chrome on a hidpi display, or with `google-chrome --force-device-scale-factor=1.1` on a regular display.

With a non-1.0 scale factor, I get the unchanging arrow cursor on my Intel 4790K desktop (HD Graphics 4600), and on my laptop with Radeon HD 6470M graphics.

If a non-1.0 scale factor still doesn't repro, try it in the xfce4 desktop environment on Ubuntu 16.04.
Project Member

Comment 3 by sheriffbot@chromium.org, Aug 28 2016

Labels: -Needs-Feedback Needs-Review
Owner: durga.behera@chromium.org
Thank you for providing more feedback. Adding requester "durga.behera@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by scheib@chromium.org, Sep 29 2016

Components: IO>PointerLock

Comment 5 by scheib@chromium.org, Sep 29 2016

Components: -IO>MouseLock

Comment 6 by cda...@chromium.org, Mar 13 2017

Labels: -Needs-Review
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
Components: -IO>PointerLock Blink>Input>PointerLock
Deprecate IO>PointerLock
Labels: Needs-Feedback
I wasn't able to reproduce the issue either with the device scale flag. Although I didn't have the exact desktop environment you suggested to make sure whether that is reproducible under that or not.
Ivan, could you please test the scenario you have in mind with the latest version and check whether it is resolved or not. Particularly that would be awesome if you take a screen capture so I can make sure there is nothing we are missing.
I forgot to mention. The github page you had for pointerlock doesn't load anymore. So I used another page that request the pointerlock. I don't know whether that might be affecting anything here or not.

Comment 10 by ivan@ludios.org, May 25 2017

Demo page has moved to https://mdn.github.io/dom-examples/pointer-lock/

You are right, I tested 58.0.3029.110 (64-bit) and this does not repro any more.
Project Member

Comment 11 by sheriffbot@chromium.org, May 25 2017

Cc: nzolghadr@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "nzolghadr@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -nzolghadr@chromium.org
Owner: nzolghadr@chromium.org
Status: Fixed (was: Unconfirmed)
Alright. Perfect then. Feel free to open a new bug if you happen to see the bug happening again.

Sign in to add a comment