3
  • Picture in Picture "restore" button doesn't switch window focus

  • BugsDesktopDone

When I have a youtube video playing in Picture in Picture mode, it doesn't re-focus the window it came from when I press the restore button. In Safari it always brings the window to the front and moves focus to it.

  1. If the video window is behind the active window, or the active window is on another desktop or full-screen app, the video goes back but the active window is not changed.
  2. If the video is being played from a PWA, e.g. Youtube, and the active window is on another desktop or full-screen app, the button does nothing.
    • See attached screen recording

Steps to reproduce:

  1. Go to youtube.com
  2. Follow the browser prompt to install YouTube as a PWA.
  3. In either the browser or the PWA, play a video in picture in picture mode

When the restore button is pressed:

  1. If the video window is behind another window, the video window should come to the front
  2. If the video window is another application in the background of the stage manager, e.g. a Youtube PWA, the active stage manager group should switch to the video window.
  3. If the current active window is on another desktop or full screen app, the desktop should switch back and the video window should be focused.

0.99.130.2-beta (WebKit 621.1.2.111.4) MacBook Air (macOS Sequoia 15.2 build 24C101)

Sequoia (15)

    KaiPrince changed the title to Picture in Picture "restore" button doesn't switch window focus .

      Hey @kaechle

      We are currently addressing the issues with PiP. Thank you!

        2 months later
        No one is typing