Skip to content

[Bug]: Application menu visible while embedded video is in fullscreen #38414

@c3er

Description

@c3er

Preflight Checklist

Electron Version

24.3.1

What operating system are you using?

Windows

Operating System Version

Windows 11 22H2

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

When a video is in fullscreen mode, only the video itself is visible, i.e. there is no menu on the screen.

Actual Behavior

When a video is in fullscreen mode, the application menu bar stays visible on top of the screen. See the screenshot below.

Upper left corner of fullscreen video

Testcase Gist URL

No response

Additional Information

I observed this problem on Windows. I didn't try Linux. On macOS, the behavior is as expected; but the application menu is outside the window there.

I made a minimal Electron application, to show this bug: https://github.com/c3er/electron-fullscreen-issue

The important part of this demo is the index.html file that contains a <video> tag referencing a local video file (downloaded from https://samplelib.com/).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions