WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
213570
Black rectangle appears when closing PIP on iPhone
https://bugs.webkit.org/show_bug.cgi?id=213570
Summary
Black rectangle appears when closing PIP on iPhone
Peng Liu
Reported
2020-06-24 12:06:08 PDT
Black rectangle appears when closing PIP on iPhone
Attachments
Patch
(1.57 KB, patch)
2020-06-24 13:23 PDT
,
Peng Liu
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Peng Liu
Comment 1
2020-06-24 12:06:51 PDT
<
rdar://problem/62963556
>
Peng Liu
Comment 2
2020-06-24 13:23:29 PDT
Created
attachment 402678
[details]
Patch
Eric Carlson
Comment 3
2020-06-24 13:49:03 PDT
Comment on
attachment 402678
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=402678&action=review
> Source/WebCore/ChangeLog:10 > + Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture.
I think it is worth saying where m_window will be made visible, e.g. "... before exiting Picture-in-Picture because m_window will be shown ..."
Peng Liu
Comment 4
2020-06-24 15:28:00 PDT
Comment on
attachment 402678
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=402678&action=review
>> Source/WebCore/ChangeLog:10 >> + Don't unhide the window and view of WebAVPlayerViewController before exiting Picture-in-Picture. > > I think it is worth saying where m_window will be made visible, e.g. "... before exiting Picture-in-Picture because m_window will be shown ..."
Thanks for the review! Actually both m_window and m_playerViewController will be destroyed after exiting picture-in-picture. So I think we don't need to show them before destroying them unless there is some animation issue (I haven't found any issue in tests yet).
EWS
Comment 5
2020-06-24 19:11:59 PDT
Committed
r263492
: <
https://trac.webkit.org/changeset/263492
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 402678
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug