• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Document Picture-in-Picture window loses "Always on Top" when clicking another app/game

    Opera GX
    bug report pip overlaying
    1
    1
    59
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      Ulyssemarance last edited by

      OS: Windows 10 / 11
      Opera GX Version: [ex: LVL 6 (core: xxx.x.xxxx.xx)]

      Problem Description

      When a web application opens a floating overlay using the standard Document Picture-in-Picture API (window.documentPictureInPicture.requestWindow()), the PiP window opens properly, but immediately loses its always-on-top priority as soon as the user clicks into another desktop application or a borderless windowed game.

      The PiP window remains open in the Windows taskbar, but moves behind the focused application instead of staying on top.

      Steps to Reproduce

      1. Open a web app that uses window.documentPictureInPicture.requestWindow({ width, height }) to create an HTML overlay window.
      2. Open any other desktop application or borderless windowed game.
      3. Click inside the other application/game.

      Expected Behavior

      The Document Picture-in-Picture window should remain always on top above other windows, just like it does on Chrome, Brave, and Firefox (151+) under the exact same conditions.

      Actual Behavior

      The Document PiP window drops behind the newly focused window as soon as you click outside of it.

      Additional Notes

      • Standard <video> Video Popout works as expected, the issue specifically affects third-party overlays using documentPictureInPicture.
      • Confirmed by multiple users on Opera GX, while the exact same web app works without issues on Chrome, Brave, and Firefox.
      Reply Quote 0
        1 Reply Last reply
      • First post
        Last post

      Computer browsers

      • Opera for Windows
      • Opera for Mac
      • Opera for Linux
      • Opera beta version
      • Opera USB

      Mobile browsers

      • Opera for Android
      • Opera Mini
      • Opera Touch
      • Opera for basic phones

      • Add-ons
      • Opera account
      • Wallpapers
      • Opera Ads

      • Help & support
      • Opera blogs
      • Opera forums
      • Dev.Opera

      • Security
      • Privacy
      • Cookies Policy
      • EULA
      • Terms of Service

      • About Opera
      • Press info
      • Jobs
      • Investors
      • Become a partner
      • Contact us

      Follow Opera

      • Opera - Facebook
      • Opera - Twitter
      • Opera - YouTube
      • Opera - LinkedIn
      • Opera - Instagram

      © Opera Software 1995-