NEW 235079
Issue with the screenshot/photo taking during webxr activity. Background turns black.
https://bugs.webkit.org/show_bug.cgi?id=235079
Summary Issue with the screenshot/photo taking during webxr activity. Background turn...
qennng@gmail.com
Reported 2022-01-11 12:32:48 PST
Created attachment 448868 [details] Black background when taking a photo in ar mode Hi, so the issue is when I take a photo on my Note10(Android 11), the 3D astronaut appears with my background in AR, however when take do the same on my iPad(IOS 15.2), only the 3D astronaut shows up and my background is black. Live Demo https://nvqenn.com/write123/ https://user-images.githubusercontent.com/21268945/148839814-116f0ac3-ae1c-4e70-a6ef-f841b1bdf87b.JPG ^The image taken from the iPad looks like this(see above) https://user-images.githubusercontent.com/21268945/148839763-9886da11-87bc-4552-9920-1e861245bfee.jpg ^The image taken from the Samsung looks like this(see above)
Attachments
Black background when taking a photo in ar mode (106.28 KB, image/jpeg)
2022-01-11 12:32 PST, qennng@gmail.com
no flags
Sam Sneddon [:gsnedders]
Comment 1 2022-01-12 08:43:54 PST
*** Bug 235080 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 2 2022-01-12 09:31:30 PST
I'm surprised to hear that iOS supports WebXR, is this actually what is in use here?
Dean Jackson
Comment 3 2022-01-13 09:04:41 PST
Yeah, this is a bit confusing. We don't support WebXR at the moment, especially on iOS.
Radar WebKit Bug Importer
Comment 4 2022-01-18 12:33:18 PST
Kimmo Kinnunen
Comment 5 2022-01-20 23:01:15 PST
On iOS this is using the platform native built in model viewer. The black background would indicate that the model viewer is running out of memory or that somehow user has declined the camera (I don't know if this is possible). qennng@gmail.com: could you go to Settings -> General of your iPad and describe what it says for Model name and model number? I cannot immediately repro on iPad Pro 2015
Kimmo Kinnunen
Comment 6 2022-01-20 23:02:30 PST
In fact, I can repro it. So the live model works ok, but taking a screenshot produces a black background.
Dean Jackson
Comment 7 2022-01-24 14:05:29 PST
Oh, now I see. This is the built-in AR viewer. It does appear to be a bug that it is not saving the camera feed when taking a screenshot. I've forwarded it to the right component.
Note You need to log in before you can comment on or make changes to this bug.