Bug 238316 - [model] Standalone model document window resize changes camera lookAt and moves 3D asset out of sight
Summary: [model] Standalone model document window resize changes camera lookAt and mov...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-24 00:24 PDT by Thomas Kumlehn
Modified: 2022-04-04 01:32 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kumlehn 2022-03-24 00:24:58 PDT
I tested r142 on macOS12.3 with a standalone model document loaded from this URL: https://kreativekk.de/wp-content/uploads/ar/K3-CNC-Demo.usdz

Resizing the window showed unexpected behaviour:

When the height is changed, the 3D asset is not kept in the camera center and can move out of sight.
Same for a window width below the default <model> width, but both horizontally and vertically.

While testing, SafariTP r142 crashed twice as reported separately.
Comment 1 Radar WebKit Bug Importer 2022-03-24 16:09:27 PDT
<rdar://problem/90799875>