WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
205792
macOS fullscreen mode breaks user interaction in HTML5 Fullscreen with external display
https://bugs.webkit.org/show_bug.cgi?id=205792
Summary
macOS fullscreen mode breaks user interaction in HTML5 Fullscreen with extern...
Jeremy Karlsson
Reported
2020-01-06 03:51:09 PST
If you are on a page that supports HTML5 fullscreen and go into fullscreen the web app works if Safari is in windowed mode, but if the user has pressed the green button on the top left in the macOS GUI to make the app fullscreened in the OS before enter HTML5 Fullscreen, then any user input in the web app stops working. Isolated test case:
https://cdpn.io/enjikaka/debug/jOEYGQW/gaAeYzgXbooA
This can be reproduced on TIDAL and YouTube. And probably anywhere else that uses HTML5 Fullscreen API too.
Attachments
Recording of error
(292.26 MB, video/quicktime)
2020-01-08 03:00 PST
,
Jeremy Karlsson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-01-06 22:48:12 PST
<
rdar://problem/58365418
>
Antoine Quint
Comment 2
2020-01-08 02:40:14 PST
Hi Jeremy, sadly the link you provided doesn't work. Could you provide an updated test case?
Antoine Quint
Comment 3
2020-01-08 02:47:21 PST
I also don't see the problem reproducing with YouTube, but I might not run the steps correctly. Here's what I did: 1. Open YouTube.com and navigate to a video 2. Make Safari fullscreen by clicking the green button in the application menu bar 3. Enter fullscreen by clicking on the fullscreen icon in the YouTube player bar 4. Left fullscreen by clicking on the fullscreen icon in the YouTube player bar 5. Made Safari no longer fullscreen by clicking on the green button in the application menu bar If you can provide steps to reproduce with YouTube that'd be great. A screen recording can also be useful. Until then, filing this bug as RESOLVED/WORKSFORME as we don't have enough actionable information as it stands.
Jeremy Karlsson
Comment 4
2020-01-08 02:50:56 PST
Change the /debug/ part in the URL to /full/ and it should work. After step 3, try using the player controls in the youtube player. That does not work.
Jeremy Karlsson
Comment 5
2020-01-08 03:00:57 PST
Created
attachment 387090
[details]
Recording of error Observe how mouse events are ignored on 0:30. Can only exit fullscreen with ESC here and not use the player at all.
Jeremy Karlsson
Comment 6
2020-01-08 03:01:54 PST
*reopening*
Antoine Quint
Comment 7
2020-01-08 05:08:48 PST
I'm not reproducing the issue you show in the screen recording in Safari with macOS 10.15.2, nor can I reproduce with your test. Does it reproduce with a Safari Technology Preview build?
Jeremy Karlsson
Comment 8
2020-01-08 05:24:08 PST
I'll test the Technology Preview build! The exact version of Safari installed is; 13.0.4 (15608.4.9.1.3). External monitor usage on macOS is sadly very very buggy, and it actually looks like that might be part of the issue here. I'm using a monitor through the USB-C port with my MacBook Pro folded, so I only have output on the external monitor. When in this mode I can consitently reproduce the issue on all pages using the Fullscreen API. I can not reproduce this is if I just use the internal screen on the MacBook Pro. If I connect the external monitor again though I can reproduce. If I unfold the MacBook so that both the internal montitor and the external montior is running, then I can also not reproduce. Peculiar... With Chrome or Firefox in "macOS fullscreen" with HTML5 Fullscreen I cannot reproduce, it only happens with Safari. So must be some calculations that are off so that the mouse position isn't correctly matched to the rendered page?
Antoine Quint
Comment 9
2020-01-08 05:44:46 PST
Thanks for this information Jeremy, this does sound like an issue with external monitors.
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