Issue with the tabbed interface on Elementary OS

Greetings,
For some reason the tabbed interface on my main laptop running ElementaryOS looks like this:

I have an old Acer C7 Chromebook with GalliumOS on it (running the XFCE4 GUI) on which it looks as it should:

Any idea what’s causing it to look weird on ElementaryOS?
Thanks!

And what is the weird thing - besides they look different due to probably different graphic toolkits (which you did not mention) or missing support for the operating system’s graphics toolkit. For example: If ElementaryOS uses GTK (which I don’t know) and you havent installed the package of libreoffice supporting GTK, you won’t get GTK-like look&feel.

If you want applications look the same on Linux based operating systems, you need to use the same toolkit (i.e. GTK for GNOME, Qt for KDE, …). You may get a hint by evaluating value VCL Help -> About LibreOffice (In general Ubuntu shows: gtk3).

If you can’t see “the weird thing” with the tabs, then I don’t know what to tell you…
ElementaryOS sports the Pantheon desktop interface which was written in Vala using GTK3 and Granite, if that helps. In “About LibreOffice” it says “VCL: gtk3”. I double checked and yes, libreoffice-gtk3 is installed. Any idea what could be wrong/missing?

No - I can’t see; sorry. I just see how tabs look in ElementaryOS (checked on file manager, terminal and epiphany and all tabs look the same way as in LibreOffice).

Except that they don’t.

I have two ideas about the issue:

  1. VCL: with XFCE, probably LO was running with gtk2 VCL; try execute LO in gtk2 with SAL_USE_VCLPLUGIN=gtk libreoffice from your terminal.

  2. GTK3 theme: certainly XFCE uses a different theme than EOS; try using a different theme.

Ran “SAL_USE_VCLPLUGIN=gtk libreoffice”. Libreoffice launched, looking the same as before.
This is what I got in the terminal:

~$ SAL_USE_VCLPLUGIN=gtk libreoffice
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml
Warning: failed to read path from javaldx

I checked and libreoffice-java-common is installed. Tried removing javasettings_Linux_X86_64.xml but got the same output.
I’m not concerned with the icons and stuff, I just don’t like the way the tabs look, all squished and broken-looking like that.

perfect, go forward and try with point 2.!

That would change the entire look of my operating system and not just Libreoffice, I don’t want to change that. I’m well aware that other UI themes don’t have this issue, but the default UI on elementary OS does. Switching themes won’t fix that, that’s avoiding the problem. Libreoffice comes with the “libreoffice-style-elementary” package which should be updated to support the tabbed interface.