Bug 116597 - System Theme Application Failure
Summary: System Theme Application Failure
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.0.2.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-24 06:43 UTC by jrheofficial
Modified: 2018-04-01 14:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice Under kde4 (287.83 KB, image/png)
2018-03-31 18:41 UTC, jrheofficial
Details
LibreOffice Under gtk3 (239.25 KB, image/png)
2018-03-31 18:43 UTC, jrheofficial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jrheofficial 2018-03-24 06:43:02 UTC
All LibreOffice applications no longer conform to a GTK theme, and rather use the default theme provided. No errors are provided on launch.
Comment 1 Buovjaga 2018-03-28 18:28:36 UTC
Which Linux distribution are you using?
Did you install LibreOffice using the package manager of your distro?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 jrheofficial 2018-03-28 23:04:41 UTC
Distro:

Manjaro 17.1.6 (Hakoila)

Installation Method:

Installed through pacman via the 'libreoffice-fresh' package in the 'extra' repository.
Comment 3 jrheofficial 2018-03-29 00:30:47 UTC
Extra Information:

I am running the KDE variant of Manjaro.
Comment 4 Buovjaga 2018-03-29 05:58:30 UTC
(In reply to jrheofficial from comment #3)
> Extra Information:
> 
> I am running the KDE variant of Manjaro.

So are you forcing it to run in GTK2/3 mode? With SAL_USE_VCLPLUGIN=gtk or =gtk3? Instead of the default kde4 you would have.
Comment 5 jrheofficial 2018-03-30 00:52:20 UTC
Using the launch argument (=gtk3) with LibreOffice will theme it properly at this point (Plasma 5 should already be handling this and does so properly for other applications). However, using this method removes the menubar from LibreOffice. 

After launching LibreOffice apps normally again without forcing the launch option, the theming is still applied now with the missing menubar from the application. It may be possible that my global menu applet in KDE may be affecting this, but I don't believe there should be any kind of attempted support or recognition to implement menubar dropdowns in a user's global bar yet.
Comment 6 Buovjaga 2018-03-30 15:31:35 UTC
Please copy and paste here the contents of your Help - About (after launching normally). This will reveal to us the VCL backend used.
Comment 7 jrheofficial 2018-03-30 19:54:10 UTC
Version: 6.0.2.1.0+
Build ID: 6.0.2-1
CPU threads: 12; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 8 Buovjaga 2018-03-31 06:53:26 UTC
(In reply to jrheofficial from comment #7)
> Version: 6.0.2.1.0+
> Build ID: 6.0.2-1
> CPU threads: 12; OS: Linux 4.15; UI render: default; VCL: kde4; 
> Locale: en-US (en_US.UTF-8); Calc: group

Ok, so kde4 VCL backend is in use. Why did you say "All LibreOffice applications no longer conform to a GTK theme", then? A screenshot might be enlightening.
Comment 9 jrheofficial 2018-03-31 18:41:53 UTC
Created attachment 141003 [details]
LibreOffice Under kde4

The two image attachments being sent show LibreOffice using one of the VCL backends and the effects that follow; the GTK style settings for the kde4 backend; and gucharmap (GNOME Character Map), another application running on the kde4 VCL backend that is working as expected. It is to note that all GTK applications on my system work fine with the kde4 VCL backend minus LibreOffice, which doesn't apply based on kde4, but selects its default theme instead.
Comment 10 jrheofficial 2018-03-31 18:43:33 UTC
Created attachment 141004 [details]
LibreOffice Under gtk3
Comment 11 Buovjaga 2018-04-01 14:23:50 UTC
(In reply to jrheofficial from comment #9)
> Created attachment 141003 [details]
> LibreOffice Under kde4
> 
> The two image attachments being sent show LibreOffice using one of the VCL
> backends and the effects that follow; the GTK style settings for the kde4
> backend; and gucharmap (GNOME Character Map), another application running on
> the kde4 VCL backend that is working as expected. It is to note that all GTK
> applications on my system work fine with the kde4 VCL backend minus
> LibreOffice, which doesn't apply based on kde4, but selects its default
> theme instead.

You misunderstand something: no other application uses VCL except all OpenOffice.org derivatives (so LibreOffice in your case). When you use the kde4 backend of LibreOffice, it is not using GTK style, but KDE style.

In your other screenshot you see the VCL GTK3 backend having the effect you were expecting.