Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d53fd76c465a8b68ef0948cebd391670c887e3f4
      
https://github.com/WebKit/WebKit/commit/d53fd76c465a8b68ef0948cebd391670c887e3f4
  Author: Yoel Hawa <[email protected]>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    M Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp

  Log Message:
  -----------
  [visionOS] requestFullscreen() may show the wrong panoramic image
https://bugs.webkit.org/show_bug.cgi?id=294091
<rdar://152184462>

Reviewed by Andy Estes.

Fixes 2 bugs: ensure that image sources changes are only sent to Quick
Look if that image is in fullscreen, and ensure that the largest source
continues to get selected for fullscreen when delegating to Quick Look.

* Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:
(WebKit::WebFullScreenManager::updateImageSource):
Stop sending image source updates to Quick Look if the image whose
source changes isn't the one in fullscreen.
(WebKit::WebFullScreenManager::enterFullScreenForElement):
(WebKit::WebFullScreenManager::didEnterFullScreen):
Move logic to force larger image sources from
WebFullScreenManager::didEnterFullScreen to
WebFullScreenManager::enterFullScreenForElement, since the former may
not be run in time anymore.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to