WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
135493
[Mac] Fullscreen mode for some applications shows only a black screen
https://bugs.webkit.org/show_bug.cgi?id=135493
Summary
[Mac] Fullscreen mode for some applications shows only a black screen
Brent Fulgham
Reported
2014-07-31 21:45:54 PDT
Some WebKit2 client applications that attempt to enter Fullscreen mode end up with a black screen instead of seeing the fullscreen element. You can exit fullscreen mode and return to the full page, but this renders full screen mode unusable for these kinds of clients.
Attachments
Patch
(2.45 KB, patch)
2014-08-01 09:49 PDT
,
Brent Fulgham
jer.noble
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2014-07-31 21:51:16 PDT
This turned out to be due to a mismatch between the type of window hosting the fullscreen view. In some applications, the NSWindow in the non-fullscreen mode is marked as InProcess only. The fullscreen NSWindow expects to be hosted in the display server (OutOfProcess). When this kind of mismatch is encountered, the WK2 layer in the UI process is supposed to relay a message back to the WebProcess application indicating that the window hosting mode has changed. Unfortunately, this step was not happening properly resulting in the failure.
Brent Fulgham
Comment 2
2014-07-31 21:52:31 PDT
<
rdar://problem/17628212
>
Brent Fulgham
Comment 3
2014-08-01 09:49:07 PDT
Created
attachment 235891
[details]
Patch
Jer Noble
Comment 4
2014-08-01 10:10:14 PDT
Comment on
attachment 235891
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235891&action=review
r=me, with nit.
> Source/WebKit2/UIProcess/API/mac/WKView.mm:2511 > + // TODO: This can be removed when
https://bugs.webkit.org/show_bug.cgi?id=135509
is resolved. > + _data->_page->layerHostingModeDidChange(); > +
Nit: this should be a "// FIXME(135509):" comment instead.
Brent Fulgham
Comment 5
2014-08-01 10:19:59 PDT
This patch works around
Bug 135509
.
Jer Noble
Comment 6
2014-08-01 10:27:04 PDT
(In reply to
comment #5
)
> This patch works around
Bug 135509
.
Yeah, so "FIXME(135509): This call becomes unnecessary once 135509 is fixed; remove."
Brent Fulgham
Comment 7
2014-08-01 10:27:19 PDT
Comment on
attachment 235891
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=235891&action=review
>> Source/WebKit2/UIProcess/API/mac/WKView.mm:2511 >> + > > Nit: this should be a "// FIXME(135509):" comment instead.
OK!
Brent Fulgham
Comment 8
2014-08-01 10:39:13 PDT
Committed
r171920
: <
http://trac.webkit.org/changeset/171920
>
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