Skip to content

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

Merged
jkleinsc merged 2 commits into41-x-yfrom
trop/41-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442098653
Mar 2, 2026
Merged

fix: menu bar hiding on two setFullscreen(false)#49996
jkleinsc merged 2 commits into41-x-yfrom
trop/41-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442098653

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:02
@trop trop bot added 41-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Mar 2, 2026
@jkleinsc jkleinsc merged commit 8a2b0b9 into 41-x-y Mar 2, 2026
113 of 114 checks passed
@jkleinsc jkleinsc deleted the trop/41-x-y-bp-fix-menu-bar-hiding-on-two-setfullscreen-false--1772442098653 branch March 2, 2026 15:32
@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

41-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