Skip to content

macosx: Fix erroneous resizing behaviour of video view when in native full-screen mode

This MR fixes some bugs that pop up when one tries to view videos when the application is in macOS' native full screen mode. The main two issues are:

  1. When video playback is started when the window is not full-screened, and the window is then full-screened, the window contents will be oversized preventing interaction with several elements that are now pushed off-screen
  2. When vieo playback is then stopped, the window contents will be resized to the window size prior to the full-screening

Video of the bugs in action:

Screen_Recording_2022-11-04_at_00.45.25

Video with the fixes in the MR:

Screen_Recording_2022-11-04_at_00.38.24

Signed-off-by: Claudio Cambra developer@claudiocambra.com

Merge request reports