Skip to content

Chrome fullscreen desync: window fullscreen persists after exiting video fullscreen #3120

Description

@imprakhartripathi

Summary

When fullscreening a video in Google Chrome under COSMIC, window-level fullscreen and DOM (video) fullscreen become desynchronized. Exiting fullscreen only exits the video, while the window remains fullscreen.

Steps to Reproduce

  1. Open Google Chrome
  2. Open any video site (e.g. YouTube)
  3. Press f or click the fullscreen button on the video
  4. First fullscreen: the entire page/window goes fullscreen, video remains embedded
  5. Second fullscreen: the video itself goes fullscreen
  6. Press ESC

Expected Behavior

ESC should exit fullscreen entirely (both video and window), restoring the normal windowed browser state.

Actual Behavior

ESC exits only the video fullscreen. The Chrome window remains fullscreen. Further presses of f only toggle the video, not the window.

Additional Notes

  • Firefox behaves correctly under the same COSMIC session
  • Issue occurs with both keyboard and mouse fullscreen
  • Issue occurs even when running Chrome with --ozone-platform=x11
  • This appears to be a compositor-level fullscreen state handling issue

Environment

  • OS: Pop!_OS 24.04 LTS
  • Session: COSMIC
  • XDG_SESSION_TYPE: wayland
  • Kernel: 6.17.9-76061709-generic
  • GPU: Intel Xe (Alder Lake)
  • Browser: Google Chrome (stable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions