Bug 256039 - iOS: Duplicate WebGL content after switching away from Safari and coming back
Summary: iOS: Duplicate WebGL content after switching away from Safari and coming back
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on: 256451 256459
Blocks:
  Show dependency treegraph
 
Reported: 2023-04-27 06:57 PDT by Jeremy
Modified: 2023-05-08 10:32 PDT (History)
4 users (show)

See Also:


Attachments
video demonstrating the bug (1.33 MB, video/mp4)
2023-04-27 06:57 PDT, Jeremy
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy 2023-04-27 06:57:10 PDT
Created attachment 466116 [details]
video demonstrating the bug

Hello,

I have a Safari / iPhone problem rendering scenes with transparent canvas.

The code: https://stackblitz.com/edit/angular-11-new-pd64ne?file=src%2Fapp%2Fapp.component.ts
The video demonstrating the bug: https://global.discourse-cdn.com/standard17/uploads/threejs/original/3X/1/2/12bbef37cf777b13a282032b187cb96609399349.mp4

I initially opened a topic here: https://discourse.threejs.org/t/ios-iphone-problem-when-switching-tabs/50790
and redirected me to open a bug tracker here because it seems to be a device specific problem.

Thank you,
Jeremy.
Comment 1 Kimmo Kinnunen 2023-05-02 01:03:15 PDT
<rdar://87609216>
Comment 2 Kimmo Kinnunen 2023-05-02 01:09:16 PDT
Thank you for the report.
For the time being, you can work around, if possible, by removing the background color  from the canvas element.
Comment 3 Kimmo Kinnunen 2023-05-04 00:58:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13438
Comment 4 EWS 2023-05-08 10:32:01 PDT
Committed 263803@main (05fc19839037): <https://commits.webkit.org/263803@main>

Reviewed commits have been landed. Closing PR #13438 and removing active labels.