Open
Bug 1325597
Opened 8 years ago
Updated 3 years ago
Mouse click issues with pointer lock on WebGL2 demo sample page
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | unaffected |
| firefox51 | --- | wontfix |
| firefox52 | --- | fix-optional |
| firefox53 | --- | fix-optional |
| firefox54 | --- | fix-optional |
People
(Reporter: phorea, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
(Keywords: regression)
[Affected versions]:
- Firefox 51 beta 10
- latest Aurora 52.0a2 2016-12-22
- latest Nightly 53.0a1 2016-12-22
[Affected platforms]:
- Win 10 64-bit
- Mac OS X 10.12
- Ubuntu 16.04 64-bit
[Steps to reproduce]:
1. Open the following demo page: http://clb.demon.fi/bugs/stingray-webgl-basic-2016-10-14/stingray_webgl_dev.html
2. Wait for the game to load and click Start game
3. Interact with it, then click anywhere
4. Move the mouse around or use W, A ,S ,D keys to change the view then click again
[Expected result]:
- The view should not change
[Actual result]:
- After 1-2 seconds the view is changed to the same fix point (sky in this sample)
[Regression range]:
- https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=afb47dfb71ed76d1bf86fe0101cda1a5e6038863&tochange=9ec789c0ee5bd3a5e765513c21027fdad953b022
Regressed by bug 991899
[Additional notes]:
- On Firefox 50.1.0 this is reproducible only with webgl.enable-webgl2 pref set to true.
Comment 1•8 years ago
|
||
Bug 991899 is unlikely the real issue. Also it seems I cannot reproduce this issue on macOS 10.12 with aurora.
That actually sounds like something I met in bug 1244546, but I expect this kind of issue only happens on HiDPI Linux with e10s enabled, so this bug seems weird to me...
Comment 2•8 years ago
|
||
I can't load the demo on macOS 10.12, firefox will be hung and I need to force quit the app.
Xidorn, looks like it's fine on your testing environment ?
Comment 3•8 years ago
|
||
Now I can reproduce this issue on macOS 10.12 with nightly and aurora.
Comment 4•8 years ago
|
||
I read the steps to reproduce again, and now I can reproduce it... I guess this is probably because we dispatch additional mousemove events when the page requests pointerlock again.
Comment 5•8 years ago
|
||
My guess now is it is somehow related to bug 1254044 (probably a dup of that). It seems Chrome has fixed this additional mousemove event, and thus this doesn't happen there.
Comment 6•8 years ago
|
||
According to the previous comments, I feel like this is an obvious regression that we'd fix in this release, i.e. P1 bug. Does this sound right to you?
Flags: needinfo?(xidorn+moz)
Comment 7•8 years ago
|
||
No, it is not a regression, it is a bug exists since long ago. Bug 991899 just enables unprefixed pointerlock API, which should not lead to change of behavior otherwise. The bug didn't exist in that website before that version probably because that website uses unprefixed pointerlock API only.
Flags: needinfo?(xidorn+moz)
Comment 8•8 years ago
|
||
Thanks for the clarification. I removed "regression" keyword then, and going to mirror the priority of the bug 1254044 (btpp-backlog --> P3). Feel free to change it if you see fit.
Priority: -- → P3
Updated•8 years ago
|
Keywords: regression
Comment 9•8 years ago
|
||
I'd like to keep 'regression' keyword on bug since basically it's indeed a regression from user's perspective. (50 OK, 51 NG)
Doing so can help relevant product owners/EMs to always keep an eye on it and ensure it's been correctly prioritized.
HsinYi, do you know how other implementers' status on support of this API ?
Flags: needinfo?(htsai)
Keywords: regression
Comment 10•8 years ago
|
||
(In reply to Astley Chen [:astley] UTC+8 from comment #9)
> I'd like to keep 'regression' keyword on bug since basically it's indeed a
> regression from user's perspective. (50 OK, 51 NG)
> Doing so can help relevant product owners/EMs to always keep an eye on it
> and ensure it's been correctly prioritized.
>
> HsinYi, do you know how other implementers' status on support of this API ?
Sorry I didn't follow this API closely, I'd defer this question to Xidorn.
Flags: needinfo?(htsai) → needinfo?(xidorn+moz)
Updated•8 years ago
|
Version: Trunk → 51 Branch
Comment 11•8 years ago
|
||
Blink has shipped this API for quite a while. Actually we do as well, although only unprefixed recently. According to caniuse.com, Edge is shipping this API unprefixed as well, and WebKit is going to ship it in its next version.
Flags: needinfo?(xidorn+moz)
Comment 12•8 years ago
|
||
If the issue doesn't happen on Blink/Edge, we probably need to get the fix in priority before causing more compatibility problem. What do you think, HsinYi ?
Flags: needinfo?(htsai)
Comment 13•8 years ago
|
||
In triage meeting: we agree with comment 12 that we'd like to see this to be fixed at a very early stage for this unprefixed API. In consideration of comment 5, looks there's a potential solution there, we'd like to see the possibility of moving this forward soon-ish.
Hi Xidorn, could you please help take this, and suggest if this blocks FF 51 or not? Thanks.
Flags: needinfo?(htsai) → needinfo?(xidorn+moz)
Priority: P3 → P2
Comment 14•8 years ago
|
||
I don't immediately have idea how to fix that. It needs some investigation on where are the events from... which I currently don't have time to...
I don't really think it blocks anything... This is a very specific case that the demo uses mousemove event to move the scene even when pointer is not locked. I don't expect this to be something very common.
Flags: needinfo?(xidorn+moz)
Updated•8 years ago
|
Comment 15•8 years ago
|
||
Seems edge-case enough to call fix-optional then.
Comment 16•7 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•