Bug 217043

Summary: Deviceorientation controls jumping/shaky
Product: WebKit Reporter: Christopher Lepkowski <christopher>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: iOS 13   

Description Christopher Lepkowski 2020-09-27 18:38:29 PDT
See discussed issue from a few weeks ago at https://discourse.threejs.org/t/deviceorientation-controls-are-shaky/18548/2 and link to test (on iOS) https://threejs.org/examples/misc_controls_deviceorientation

That phenomenon was noted on iOS 13 in above post, but I just observed the same/similar phenomenon in iOS 14-- extreme jumpiness in tracking as well as paint bugs (after-images of 2D HTML/DOM elements persisting on/over a canvas element even after removed from DOM).

The referenced post using ThreeJS, and my own observed issue using A-Frame.js, are both using the DeviceOrientationControls code at https://github.com/mrdoob/three.js/blob/master/examples/jsm/controls/DeviceOrientationControls.js which uses the window.DeviceOrientationEvent for tracking.

As noted by the poster at the referenced link, a restart appears to address the issue, but I confess I'd never personally encountered the problem before, and seeing it posted so recently by another on iOS 13 and now suddenly experiencing it myself on iOS 14 makes me wonder if it is a newly emergent issue.
Comment 1 Radar WebKit Bug Importer 2020-09-28 17:05:26 PDT
<rdar://problem/69724322>