Skip to content

fix: menu bar hiding on two setFullscreen(false)#49994

Merged
codebytere merged 2 commits into40-x-yfrom
trop/40-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442100644
Mar 2, 2026
Merged

fix: menu bar hiding on two setFullscreen(false)#49994
codebytere merged 2 commits into40-x-yfrom
trop/40-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442100644

Conversation

@trop
Copy link
Copy Markdown
Contributor

@trop trop bot commented Mar 2, 2026

Backport of #45930

See that PR for details.

Notes: Fixed menu bar hiding after a call to win.setFullScreen(false) when not in fullscreen on Linux.

trop bot and others added 2 commits March 2, 2026 09:01
`setFullscreen(false)` should do nothing
when not already in fullscreen, but it hides the menu bar
on Linux.

Co-authored-by: WofWca <wofwca@protonmail.com>
This fixes the following bug on Linux (and maybe macOS):
1. Create a window with a menu bar.
2. Call `win.setFullScreen(false)`.

The menu bar will hide.

See the original bug in our project:
deltachat/deltachat-desktop#4752.

Co-authored-by: WofWca <wofwca@protonmail.com>
@trop trop bot requested a review from a team March 2, 2026 09:01
@trop trop bot added 40-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Mar 2, 2026
@codebytere codebytere merged commit 649c19c into 40-x-y Mar 2, 2026
104 of 109 checks passed
@codebytere codebytere deleted the trop/40-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442100644 branch March 2, 2026 15:01
@release-clerk
Copy link
Copy Markdown

release-clerk bot commented Mar 2, 2026

Release Notes Persisted

Fixed menu bar hiding after a call to win.setFullScreen(false) when not in fullscreen on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

40-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant