Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0422248ec3078c58e58d97e76d68cf0999e3c462
      
https://github.com/WebKit/WebKit/commit/0422248ec3078c58e58d97e76d68cf0999e3c462
  Author: Phipson Lee <[email protected]>
  Date:   2026-04-24 (Fri, 24 Apr 2026)

  Changed paths:
    M Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm

  Log Message:
  -----------
  Exiting Fullscreen after Docking sometimes clips content
https://bugs.webkit.org/show_bug.cgi?id=311886
rdar://173447754

Reviewed by Abrar Rahman Protyasha.

Previously, the fullscreen window controller only set and restored the minimum 
window
size restrictions for the scene. When entering fullscreen and then docking the 
video
after, this can cause the max window size restriction to change. If the inWindow
has a larger size than that maximum size, this causes the subsequent call to
requestSize in the exit animation to return the wrong size, causing the window
to clip.

To ensure that the maximum window size restriction is restored correctly, we 
set the
maximum size restrictions before requesting a scene resize for the exit 
animation.

* Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:
(-[WKFullScreenParentWindowState initWithWindow:]):
(-[WKFullScreenWindowController 
_performSpatialFullScreenTransition:completionHandler:]):
(-[WKFullScreenWindowController bestVideoFullscreenModeChanged]):

Canonical link: https://commits.webkit.org/311954@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to