Bug 149979 - Hide menu bar in the "Contextual single" interface
Summary: Hide menu bar in the "Contextual single" interface
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-13 16:11 UTC by contact
Modified: 2022-08-04 07:54 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
pictures of toolbar options I got (112.17 KB, image/png)
2022-07-28 17:22 UTC, contact
Details
pictures of toolbar options I got (2cd) (114.78 KB, image/png)
2022-07-28 17:22 UTC, contact
Details

Note You need to log in before you can comment on or make changes to this bug.
Description contact 2022-07-13 16:11:40 UTC
Dear, at moment we can hide the menu-bar on grouped, tabbed, standard and standard single interfaces, except in "contextual single".

When I navigate to Tools -> Customize, I and only add the menu-bar entry to the "standard" and "standard single" interfaces.

It would be great to have that option as well in contextual single.

Bests,
Comment 1 Dieter 2022-07-28 05:35:12 UTC
I can't confirm with

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

In "contextual single" I can add "menubar" with customize dialog to any toolbar I like. Please retest.
Comment 2 contact 2022-07-28 17:22:02 UTC
Created attachment 181475 [details]
pictures of toolbar options I got
Comment 3 contact 2022-07-28 17:22:45 UTC
Created attachment 181476 [details]
pictures of toolbar options I got (2cd)
Comment 4 contact 2022-07-28 17:24:57 UTC
I just tried on 7.3.5.2 (see pictures above), but I can't find the target "contextual single". Am I missing something ?

In addition : I am running LibreOffice on Ubuntu 22.04
Comment 5 Dieter 2022-07-28 18:25:15 UTC
(In reply to contact from comment #4)
> I just tried on 7.3.5.2 (see pictures above), but I can't find the target
> "contextual single". Am I missing something ?

Perhaps. "Contextual single" is not a toolbar, but a user interface. So please try the following steps:
1. Open writer and choose View -> User Interface -> Contextual Single -> Apply -> Close
2. Tools -> Customize -> Toolbars
3. Enter Menubar in search field and choose a toolbar (for example standard)
4. Add menubar item to standard toolbar -> OK
Now menubar icon is available in selected toolbar and you're able to hide menu

Does this work for you?
=> NEEDINFO
Comment 6 contact 2022-07-28 19:10:53 UTC
Unfortunately, it doesn't work. I tried with all three standard, standard (single mode) and standard (viewing mode) toolbars 🤔
Comment 7 contact 2022-07-28 19:14:21 UTC
I forgot to mention that adding the menu item in the standard and standard (single mode) correctly adds it to the corresponding user interface. I don't know however what is standard (viewing mode) toolbar.
Comment 8 QA Administrators 2022-07-29 04:36:55 UTC Comment hidden (obsolete)
Comment 9 Dieter 2022-08-03 10:18:04 UTC
(In reply to contact from comment #7)
> I forgot to mention that adding the menu item in the standard and standard
> (single mode) correctly adds it to the corresponding user interface.

So I don't understand the problem. However, I don't think, that this is a bug, but a question of guidance. So I recommend to use https://ask.libreoffice.org/ for this. I change status to RESOLVED NOTABUG. Feel free to change it to UNCONFIRMED, if you disagree.
Comment 10 contact 2022-08-03 19:31:27 UTC
Hi,
To make it clear: 

In Tools -> Customize -> Toolbars, I can add the "hide menu" button on : 
- standard
- standard (single mode)
- standard (viewing mode)

Result : these correctly add the "hide menu" is visible on "Standard toolbard" and "Standard single" user interface variant, ONLY.

What is missing : contextual single. There is no may to add it there.

Can you confirm that you can add it to contextual single ui ?
Comment 11 Dieter 2022-08-04 07:54:13 UTC
(In reply to contact from comment #10)
> Hi,
> To make it clear: 
> 
> In Tools -> Customize -> Toolbars, I can add the "hide menu" button on : 
> - standard
> - standard (single mode)
> - standard (viewing mode)
> 
> Result : these correctly add the "hide menu" is visible on "Standard
> toolbard" and "Standard single" user interface variant, ONLY.
> 
> What is missing : contextual single. There is no may to add it there.
> 
> Can you confirm that you can add it to contextual single ui ?

You mix toolbars and unser interfaces: standard, standard (singel mode), standard (viewing mode) are toolbars and therefor you won't find the UI "Contextual Single" there. Please follow my steps from comment 5.