[SOLVED] I Want My LibreOffice Menu Icons Back!

Questions about applications and software
Forum rules
Before you post please read how to get help
User avatar
cosmiclaser
Level 3
Level 3
Posts: 119
Joined: Sat Aug 04, 2018 1:29 am

Re: I Want My LibreOffice Menu Icons Back!

Post by cosmiclaser »

From the LibreOffice bug report: ( https://bugs.documentfoundation.org/sho ... 123265#c44 )
Turns out the problem is on our side after all. The problem was originally fixed in Bug 126830, but that fix gone lost when https://cgit.freedesktop.org/libreoffic ... da1dd3c481 was merged, because it was based on an older revision of gtksalmenu.cxx.

If I understand they should fix it now that they understand...
User avatar
cosmiclaser
Level 3
Level 3
Posts: 119
Joined: Sat Aug 04, 2018 1:29 am

Re: I Want My LibreOffice Menu Icons Back!

Post by cosmiclaser »

LibreOffice's team fixed the bug.
Unfortunately, existing versions like 6.4.6 won't benefit from fix.
We'll have to wait/upgrade to 7.0.3 (when it's released, scheduled mid-November) or higher to get the fix.
Source: https://bugs.documentfoundation.org/sho ... 123265#c53
Thanks.
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

Ok, so it looks like a request to Linux Mint might be appropriate after all, because the ability to change the menu icon visibility in the UI is not coming back.

Here is how Mint can do it (and this is normal for distros):
Patch this file:
officecfg/registry/schema/org/openoffice/Office/Common.xcs

So the property for IsSystemIconsInMenus has the value false:

Code: Select all

<prop oor:name="IsSystemIconsInMenus" oor:type="xs:boolean" oor:nillable="false">
  <info>
    <desc>Indicates whether icons in the office menus should
    shown/hidden by following the System theme.</desc>
  </info>
  <value>false</value>
</prop>
Anyone can test this right now by going to Tools - Options - LibreOffice - Advanced - Open Expert Configuration, pasting in IsSystemIconsInMenus and clicking search and finally double-clicking the property to change the value from true to false.
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

Or maybe, as mentioned in bug 123265, System Wide Setting in Linux Mint (Themes: Settings: Show icons in menus) will work? Please, could someone try it? Maybe you can use an appimage https://libreoffice.soluzioniopen.com/
User avatar
AZgl1500
Level 14
Level 14
Posts: 5299
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: I Want My LibreOffice Menu Icons Back!

Post by AZgl1500 »

Tonttu wrote:
Thu Oct 08, 2020 3:53 am
Ok, so it looks like a request to Linux Mint might be appropriate after all, because the ability to change the menu icon visibility in the UI is not coming back.

Here is how Mint can do it (and this is normal for distros):
Patch this file:
officecfg/registry/schema/org/openoffice/Office/Common.xcs

So the property for IsSystemIconsInMenus has the value false:

Code: Select all

<prop oor:name="IsSystemIconsInMenus" oor:type="xs:boolean" oor:nillable="false">
  <info>
    <desc>Indicates whether icons in the office menus should
    shown/hidden by following the System theme.</desc>
  </info>
  <value>false</value>
</prop>
Anyone can test this right now by going to Tools - Options - LibreOffice - Advanced - Open Expert Configuration, pasting in IsSystemIconsInMenus and clicking search and finally double-clicking the property to change the value from true to false.
That " IsSystemIconsInMenus " is not in my version of LO Writer.


LO  IsSystemIconsInMenus.png
Linux Mint 19.3 Cinnamon
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

AZgl1500 wrote:
Thu Oct 08, 2020 10:34 am
That " IsSystemIconsInMenus " is not in my version of LO Writer.
And what might your version be?
User avatar
AZgl1500
Level 14
Level 14
Posts: 5299
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: I Want My LibreOffice Menu Icons Back!

Post by AZgl1500 »

Tonttu wrote:
Fri Oct 09, 2020 3:07 am
AZgl1500 wrote:
Thu Oct 08, 2020 10:34 am
That " IsSystemIconsInMenus " is not in my version of LO Writer.
And what might your version be?
It was listed in the pix above I thought, 11.x.x

LO Writer version is
LO version.png
LO version.png (14.38 KiB) Viewed 345 times
Linux Mint 19.3 Cinnamon
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

AZgl1500 wrote:
Fri Oct 09, 2020 6:19 am
Tonttu wrote:
Fri Oct 09, 2020 3:07 am
AZgl1500 wrote:
Thu Oct 08, 2020 10:34 am
That " IsSystemIconsInMenus " is not in my version of LO Writer.
And what might your version be?
It was listed in the pix above I thought, 11.x.x

LO Writer version is LO version.png
This is an ancient version, 6.0. We are talking here of the very latest developments, yet to be released (in 7.0.3). You have to test with an appimage of a 7.1 daily build.
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

Fix was confirmed for 7.0.3 on Mint: https://bugs.documentfoundation.org/sho ... 123265#c58
mikeflan
Level 3
Level 3
Posts: 113
Joined: Sun Apr 26, 2020 9:28 am

Re: I Want My LibreOffice Menu Icons Back!

Post by mikeflan »

I am simply not able to open an account on the Community site ...
Agreed. I didn't even make it to the chat room.

Image
Attachments
mint.jpg
mint.jpg (47.39 KiB) Viewed 201 times
User avatar
cosmiclaser
Level 3
Level 3
Posts: 119
Joined: Sat Aug 04, 2018 1:29 am

Re: I Want My LibreOffice Menu Icons Back!

Post by cosmiclaser »

See next post for the Work Around.

I discovered that with LibreOffice 7.0.3+, it works only if the Show Icons In Menues option was previously set in a previous version of LibreOffice, when the option was there (eg 6.3.4). But unfortunately, the option was removed for totally incomprehensible reasons in 6.4 and later versions.

There is an option in Linux Mint "Themes" dialog, but unfortunately, it seams that LibreOffice doesn't care about this option.
Is this a bug ? Maybe the LibreOffice developer team should explain to the LibreOffice developper team how to correctly read this flag?
show-icons-in-menus.png
Anyway, see next post for the Work Around.
Last edited by cosmiclaser on Fri Nov 06, 2020 1:11 pm, edited 2 times in total.
User avatar
cosmiclaser
Level 3
Level 3
Posts: 119
Joined: Sat Aug 04, 2018 1:29 am

[SOLVED] Re: I Want My LibreOffice Menu Icons Back!

Post by cosmiclaser »

[SOLVED] (But not really, this is only workaround, I consider there is still a bug in LibreOffice and we should not need to do the following)

From LibreOffice version 7.0.3 and +, here is the workaround:
(You'll need LibreOffice version 7.0.3 or later because they made a fix on their side to fix this)

Step 1: In in LibreOffice menu Tools: Options: Advanced, click "Open Expert Configuration"
step1.png
Step 2: Search "IconsInMenu". Set ShowIconsInMenues to true, IsSystemIconsInMenus to false.
step2.png
Finally, close all LibreOffice windows and restart it.

Result: We see the useful icons in menus.
result.png
Tonttu
Level 2
Level 2
Posts: 61
Joined: Mon Jul 11, 2011 11:54 am

Re: [SOLVED] I Want My LibreOffice Menu Icons Back!

Post by Tonttu »

cosmiclaser: note my post in this topic. Linux Mint packaging needs to apply a patch for this to be default. You have to make the Linux Mint LibreOffice packager aware of this need!
Post Reply

Return to “Software & Applications”