How to remove the "Normal, Outline, Notes, Handout, Slide Sorter" tab-bar on Impress

I’m using LibreOffice Impress (Version: 4.2.7.2, Build ID: 420m0(Build:2)) on linux.

Above the slide there is “Normal, Outline, Notes, Handout, Slide Sorter” tab-bar (see screenshot below). But it’s useless (as I can change these modes simply from “View” menu) and just takes (vertical) space on small screen.

How can I remove (hide) it?

I am afraid that but feel that you need to download the source code and modify the SW the way it suits you.

Having to open always the “View” menu to change what you want to see, requires 2 clicks and 2 long plus one short movement of the cursor. Thus, most LibO user are very likely to prefer the current way with the tabs.

If you prefer shortcuts, look into the keyboard shortcut and use the default ones or create your own ones. However due to a bug the shortcut key for “Normal view” does not work.

You also can file an enhancement request here: https://bugs.documentfoundation.org//enter_bug.cgi?product=LibreOffice
Please note that for:

  • Selecting the LibO version you need to scroll the version list up
  • Making the bug report an enhancement request you need to select “Enhancement” in the field “Severity”

It is quite easy to remove this bar as follows (tested on xubuntu 15.04). Open a terminal and make sure you are in your home directory. Then follow these steps:

  1. Install dependencies, see [1]

sudo apt-get build-dep libreoffice

sudo apt install libkrb5-dev

  1. now build libreoffice, see [2]. First, checkout libreoffice from git

git clone git://anongit.freedesktop.org/libreoffice/core libreoffice

  1. now configure the build

cd libreoffice

./autogen.sh

  1. compile (and drink lots of coffe ;))

make

  1. If the build was successful, lets remove the annoying bar

nano sd/source/ui/framework/module/ImpressModule.cxx

Remove the following part in method “ImpressModule::Initialize” by selecting and deleting it

    new ViewTabBarModule(
    rxController,
    FrameworkHelper::CreateResourceId(
        FrameworkHelper::msViewTabBarURL,
        FrameworkHelper::msCenterPaneURL));

Press Ctrl+x and confirm with ‘y’

  1. Build the modified module

make sd

  1. Start Impress and be happy

./instdir/program/soffice --impress

Have fun,

Klaus

[1] https://wiki.documentfoundation.org/Development/Linux_Build_Dependencies

[2] https://wiki.documentfoundation.org/Development/BuildingOnLinux