Bug 170473 - Menubar is always shown (in inconsistent enabled state) when exiting fullscreen mode
Summary: Menubar is always shown (in inconsistent enabled state) when exiting fullscre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.8.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Notebookbar Full-Screen-Mode Notebookbar-Groupedbar Notebookbar-Tabbed
  Show dependency treegraph
 
Reported: 2026-01-25 20:04 UTC by Jeff Fortin Tam
Modified: 2026-01-27 18:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Demonstration video (5.22 MB, video/mp4)
2026-01-25 20:04 UTC, Jeff Fortin Tam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Fortin Tam 2026-01-25 20:04:06 UTC
Created attachment 205173 [details]
Demonstration video

1. Launch LibreOffice Calc (or any other LibreOffice app, such as Writer)

2. Set your UI layout mode to anything other than the traditional ("Standard") toolbars, i.e. set it to "Tabbed", "Tabbed Compact" or "Groupedbar Compact" for example.

3. Enter Full Screen mode (Ctrl+Shift+J, or through the toolbar buttons)

4. Exit fullscreen mode (by pressing "Esc", to work around bug #170472)

Result:

* The menubar is shown, even though you did not have it enabled
* The state tracking is inconsistent: if you go to the toolbars or menubuttons to disable "Menubar", you will have to use it twice in a row, because those UI widgets still think the menubar is disabled (so the 1st time you toggle them, they will re-set the menubar state to enabled).

See attached demonstration video.

---

Observed on:

Version: 25.8.4.2 (X86_64) / LibreOffice Community
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 8; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: en-US (en_CA.UTF-8); UI: en-US
Flatpak


This is running on Fedora 42's GNOME 48.7 Wayland session, with animations enabled or disabled. 100% reproducible on my laptop so far.
Comment 1 raal 2026-01-27 18:16:23 UTC
Confirm with Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 8fb5be18f8febe88f7d0b72e4b30efd41891feb7
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2026-01-27 18:26:48 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.4$.
Adding Cc: to Stephan Bergman ; Could you possibly take a look at this one?
Thanks
 2b6cd4ca492236dbd49dc67e3b1a97fad507895c is the first bad commit
commit 2b6cd4ca492236dbd49dc67e3b1a97fad507895c
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Thu Mar 31 13:58:45 2022 +0200

    source 9f041e7678521074b09b20f4088996c86bea5cd0


132126: tdf#147668: Reliably remove GTK menu bar widget | https://gerrit.libreoffice.org/c/core/+/132126