Bug 123265 - Show menu icons by default in GTK3 Backend
Summary: Show menu icons by default in GTK3 Backend
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:6.4.0 target:7.0.3
Keywords:
: 124170 128676 130518 131694 (view as bug list)
Depends on:
Blocks: GTK3 UI-Theming
  Show dependency treegraph
 
Reported: 2019-02-08 13:25 UTC by Rizal Muttaqin
Modified: 2022-07-27 06:53 UTC (History)
11 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rizal Muttaqin 2019-02-08 13:25:50 UTC
I know GTK3 / GNOME 3 by default omit icon view in menu item and button but could we revert it in LibreOffice? So user have abilities to enable or disable icon view in menu item. This is critical for icon designer especially while GTK2 back end would be killed in near time
Comment 1 Rizal Muttaqin 2019-02-08 13:34:19 UTC
Update

I've found this options in Tools > Options > View

In Menu section, set Show in "Icons in menus:" and "Shortcut in context menus"

Unfortunately this options is defective: For sub menu icons are not visible at all
Comment 2 Buovjaga 2019-02-08 13:40:27 UTC
I see the icons in sub menus.
Comment 3 Caolán McNamara 2019-02-09 16:32:07 UTC
what is missing where ?
Comment 4 Buovjaga 2019-02-09 18:44:30 UTC
(In reply to Caolán McNamara from comment #3)
> what is missing where ?

The GTK3 HIG or whatever dictates that icons in menus are hidden by default. Thus, when the setting "Icons in menus" in Tools > Options > LibreOffice > View is set to Automatic, GTK3 backend hides the icons.

Do you think we should continue conforming to the HIG or change it to Show?
Comment 5 andreas_k 2019-02-11 15:02:09 UTC
I would suggest to change it to show by default in menubar.
Comment 6 Xisco Faulí 2019-02-11 16:26:59 UTC
(In reply to Buovjaga from comment #4)
> (In reply to Caolán McNamara from comment #3)
> > what is missing where ?
> 
> The GTK3 HIG or whatever dictates that icons in menus are hidden by default.
> Thus, when the setting "Icons in menus" in Tools > Options > LibreOffice >
> View is set to Automatic, GTK3 backend hides the icons.
> 
> Do you think we should continue conforming to the HIG or change it to Show?

Hi Buovjaga,
Could you please share the link to that GTK3 HIG info ?
Comment 7 Buovjaga 2019-02-11 17:04:54 UTC
(In reply to Xisco Faulí from comment #6)
> (In reply to Buovjaga from comment #4)
> > (In reply to Caolán McNamara from comment #3)
> > > what is missing where ?
> > 
> > The GTK3 HIG or whatever dictates that icons in menus are hidden by default.
> > Thus, when the setting "Icons in menus" in Tools > Options > LibreOffice >
> > View is set to Automatic, GTK3 backend hides the icons.
> > 
> > Do you think we should continue conforming to the HIG or change it to Show?
> 
> Hi Buovjaga,
> Could you please share the link to that GTK3 HIG info ?

https://igurublog.wordpress.com/2014/03/22/gtk-3-10-drops-menu-icons-and-mnemonics/
Comment 8 andreas_k 2019-02-11 17:11:47 UTC
> https://igurublog.wordpress.com/2014/03/22/gtk-3-10-drops-menu-icons-and-
> mnemonics/

This is another bug, why there is no mnemonics use in GTK3, which is also not good, but this bug is why there are no icons in the menubar.
Comment 9 Roman Kuznetsov 2019-02-14 19:36:04 UTC
(In reply to Buovjaga from comment #2)
> I see the icons in sub menus.

Because you use Gnome 3. But in Xubuntu or in any nonGTK3 DE I don't see any icons in LibreOffice menus in daily build because vcl:gtk2 was removed and I can't change show/hide icons with options in LibreOffice in this case.

I agree with Rizal
Comment 10 Rizal Muttaqin 2019-02-14 20:06:57 UTC
While GNOME 3 software tend to remove feature I think for relative complex software it's not appropriate to not showing icon in menu.
Comment 11 Heiko Tietze 2019-03-20 19:18:37 UTC
There is the request to always show because a) of complexity of the UI compared to other apps and b) we do for win, gtk2, and qt. On the other hand we don't show because of compliance with system look and feel. This is my personal opinion overruled by the majority so got for it and make the default (aka Automatic) showing the icons on gtk3.
Comment 12 Buovjaga 2019-03-21 07:32:59 UTC
(In reply to Heiko Tietze from comment #11)
> There is the request to always show because a) of complexity of the UI
> compared to other apps and b) we do for win, gtk2, and qt. On the other hand
> we don't show because of compliance with system look and feel. This is my
> personal opinion overruled by the majority so got for it and make the
> default (aka Automatic) showing the icons on gtk3.

As this looked to be turning into a "loud majority vs. conservative minority" type of thing, I started thinking, if I am going straight to Hell for defying the GNOME design gods. After a bit of digging, it seems I will at least be in good company.

The GTK3 version of GIMP shows icons in menus by default and there is not even an option to hide them. You can check this with a fresh appimage: https://github.com/aferrero2707/gimp-appimage/releases/tag/continuous The current newest build is GIMP_AppImage-git-2.99.1-20190318-x86_64.AppImage

Inkscape's GTK3 version went with an option "Yes/No/Let the Inkscape theme decide": https://bugs.launchpad.net/inkscape/+bug/1636493 Testing the appimage, I can see icons in menus, so at least the default Inkscape theme shows them: https://inkscape.org/release/inkscape-1.0alpha0/gnulinux/appimage/
Comment 13 Rizal Muttaqin 2019-03-21 10:34:10 UTC
Copied from https://bugs.launchpad.net/inkscape/+bug/1636493 (thanks Buovjaga)

Imerion (imerion) wrote on 2018-11-02: 	#17

"One man's noise is another man's critical and crucial user interface."

Agreed. It's really surprising how much faster I find the correct menu option, even in applications I've used a lot, when there is a bit of color or a few simple shapes to go by. It also helps dyslexic people and those with visual disabilities to easier find the right option. Please don't remove them!
Comment 14 Roman Kuznetsov 2019-03-22 08:56:30 UTC
*** Bug 124170 has been marked as a duplicate of this bug. ***
Comment 15 Caolán McNamara 2019-04-11 09:17:08 UTC
I'm not going to change this. Icons on/off currently follows the desktop defaults for icons on/off. It makes more sense to me to turn icons on for all apps at the desktop level rather than per-application.
Comment 16 Rizal Muttaqin 2019-10-11 09:56:00 UTC
REOPENED: As per this build the options to show icons (Icons in menus: show & Shortcuts in context menus: Show) does not make changes with GTK3 back end. If the decision was to keep application follows desktop environment please consider to give user a freedom to choose, otherwise remove this options at all.


Version: 6.4.0.0.alpha0+
Build ID: 9377ff20724b156c32728d347cdf843fe23dcd81
CPU threads: 4; OS: Linux 5.0; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-10-10_02:50:05
Locale: id-ID (id_ID.UTF-8); UI-Language: en-US
Calc: threaded
Comment 17 Rizal Muttaqin 2019-10-11 10:02:06 UTC Comment hidden (obsolete)
Comment 18 Rizal Muttaqin 2019-10-11 10:04:29 UTC Comment hidden (obsolete)
Comment 19 Buovjaga 2019-10-11 11:14:30 UTC
(In reply to Rizal Muttaqin from comment #16)
> REOPENED: As per this build the options to show icons (Icons in menus: show
> & Shortcuts in context menus: Show) does not make changes with GTK3 back
> end. If the decision was to keep application follows desktop environment
> please consider to give user a freedom to choose, otherwise remove this
> options at all.

Please open a report for this regression.
Comment 20 Commit Notification 2019-10-11 14:56:42 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0d6a64c218791156e050c2050b8070d40fdacf97

Resolves: tdf#123265 hide show-icons under gtk3

It will be available in 6.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 21 Buovjaga 2019-11-08 20:29:24 UTC
*** Bug 128676 has been marked as a duplicate of this bug. ***
Comment 22 jEsuSdA 8) 2020-04-02 09:22:05 UTC
Hi!

Please, reconsider add this option. IMHO there are some important reasons to it:


1 - GTK3 is not only used by Gnome3. There are some other GTK desktop environments  like XFCE and these other desktop users may not be very happy with the Gnome3 guidelines (if they were, they'd probably use it).

2 - Hide menu icons is very very inconvenient for all the people like me who teach other people to use LibreOffice. I usually teach courses on LibreOffice and other FLOSS and I've never had a problem elaborating my courses documentation. I use GNU/Linux and my students usually use Windows or Mac, so, the screenshots of LibreOffice in GNU/Linux were very similar to their system. 

But now, when I take an screenshot the menu and options without icons are so different in relation with the student environment, so it is impossible to me to update my documentation.

In addition, for newbies, having an representative icon of an option it's very convenient cause they can easily identify the option and remember it. 

Finally, when I have to teach students in other languages, my screenshots are totally valid, cause the menu icons are the same in all LibreOffice languages, but with this icons removed, the screenshots are totally unusable, cause the student has to known the language of the screenshot to understand it.

Please, please, consider that. If you want more and more people using Libre Office, please, help the people to use it, and help the people like me who try teaching others to use it. 

I know Gome 3 HIG could be awesome to some people, but Libre Office is used by a large community of other kind of people. Help us grow this community instead of making it more difficult.

Please, reconsider add the Tools > Options > View > "Icons in menus:" and "Shortcut in context menus". If you want follow Gnome HIG, make this disabled by default, but do not remove at all. Removing this option does more damage than good.

Thanks.
Comment 23 Buovjaga 2020-04-02 09:27:12 UTC
Please, do not change the status again.
Comment 24 Timur 2020-04-02 11:00:49 UTC
*** Bug 130518 has been marked as a duplicate of this bug. ***
Comment 25 Buovjaga 2020-08-23 15:24:30 UTC
*** Bug 131694 has been marked as a duplicate of this bug. ***
Comment 26 hellwoodfire 2020-09-26 22:57:18 UTC
Can you explain in detail why this bug has been classified as "RESOLVED WONTFIX" ? This is totally unacceptable for me. I WANT to see icons in my menus. It's my choice, not yours. Please put the option back exactly where it was in v6.3. Thanks.
Comment 27 Buovjaga 2020-09-27 07:10:19 UTC
(In reply to hellwoodfire from comment #26)
> Can you explain in detail why this bug has been classified as "RESOLVED
> WONTFIX" ? This is totally unacceptable for me. I WANT to see icons in my
> menus. It's my choice, not yours. Please put the option back exactly where
> it was in v6.3. Thanks.

What is being followed is the desktop-level setting. Perhaps Xfce or Cinnamon desktops could somehow work around the GTK enforcement of no icons. In any case, this is not the right place to complain.
Comment 28 Ron Johnson 2020-09-27 08:01:36 UTC
@hellwood this is why I've stayed with LO 6.1.3 on Xubuntu 18.04.
Comment 29 hellwoodfire 2020-09-27 14:58:58 UTC
@Buovjaga Could you tell me please where is the right place to complain?
By the way this just doesn't make any sens. LibreOffice is totally unusable without icons in the Menus. Many others apps, such as Gimp, just ignore this stupid setting and still shows the useful icons we all want in our menus.
Comment 30 hellwoodfire 2020-09-27 15:03:26 UTC
@Buovjaga Same thing for Inksape, it just ignore this stupid setting and still shows the useful icons we all want in our menus.
Comment 31 hellwoodfire 2020-09-27 15:05:19 UTC
Why don't you just put back the option to override this. exactly where is was in the LibreOffice options? Please, just add the option.
Comment 32 Buovjaga 2020-09-27 16:00:42 UTC
(In reply to hellwoodfire from comment #29)
> @Buovjaga Could you tell me please where is the right place to complain?
> By the way this just doesn't make any sens. LibreOffice is totally unusable
> without icons in the Menus. Many others apps, such as Gimp, just ignore this
> stupid setting and still shows the useful icons we all want in our menus.

As you can read from the comments, I have the same opinion as you and I already described how Inkscape and GIMP work.

The right place to make a proposal is in the issue tracker of whichever "not GNOME, but using GTK" -desktop environment you are using (Cinnamon, Xfce).
Comment 33 hellwoodfire 2020-09-27 22:25:07 UTC
@Buovjaga Thank you for the information. Sorry, there is something I don't understand. Yes I saw your comment #12. 
1) But if Inkscape and GIMP can just ignore the GTK3 Setting, why LibreOffice Cant?

2) Also, why the right place to make a proposal would be in the issue tracker of whichever "not GNOME, but using GTK" desktop environment (Cinnamon, MATE, Xfce) ?

3) Can I change the status to "Reopened" and change the importance to MAJOR ?
Comment 34 hellwoodfire 2020-09-27 22:30:24 UTC
(In reply to Caolán McNamara from comment #15)
> I'm not going to change this. Icons on/off currently follows the desktop
> defaults for icons on/off. It makes more sense to me to turn icons on for
> all apps at the desktop level rather than per-application.

It makes more sense ONLY TO YOU. It doesn't make sens for the rest of us.
Please put back the option at least.
Comment 35 Ming Hua 2020-09-27 23:55:08 UTC
(In reply to hellwoodfire from comment #31)
> Why don't you just put back the option to override this. exactly where is
> was in the LibreOffice options? Please, just add the option.
Please read more carefully.  Per comment 16 that option doesn't work with GTK3 backend, which is the reason they were changed to be hidden.

You are free to switch to a different (gen? x11? don't know how it's called now) VCL backend, and I believe the options to change the menu icons will be back.  You probably won't even need to change it, as the default setting probably shows the icons already.
Comment 36 Rizal Muttaqin 2020-09-28 02:36:29 UTC
(In reply to Ming Hua from comment #35)

> You are free to switch to a different (gen? x11? don't know how it's called
> now) VCL backend, and I believe the options to change the menu icons will be
> back.  You probably won't even need to change it, as the default setting
> probably shows the icons already.

No, it's not. The options has been removed even in gen backend (I have tested it), and yes the default settings for KDE and Windows is shows by default while its the opposite in GTK and macOS. I am not sure macOS has no such desktop level settings and GNOME need an external tool like gconf/dconf editor or such I don't know.
Comment 37 hellwoodfire 2020-09-28 03:15:56 UTC
How can I "hack" my disto to show the icons?
Comment 38 Buovjaga 2020-09-28 05:18:55 UTC
(In reply to hellwoodfire from comment #33)
> @Buovjaga Thank you for the information. Sorry, there is something I don't
> understand. Yes I saw your comment #12. 
> 1) But if Inkscape and GIMP can just ignore the GTK3 Setting, why
> LibreOffice Cant?

LibreOffice can, but it will not. Just like with menu mnemonics, it will conform to the desktop rather than go hacking things.

> 2) Also, why the right place to make a proposal would be in the issue
> tracker of whichever "not GNOME, but using GTK" desktop environment
> (Cinnamon, MATE, Xfce) ?

Because GTK upstream will not accept your request.

> 3) Can I change the status to "Reopened" and change the importance to MAJOR ?

No.

(In reply to Rizal Muttaqin from comment #36)
> No, it's not. The options has been removed even in gen backend (I have
> tested it)

This is not true, the option is there in gen. However, gen is just a fallback backend.

If missing menu icons are a dealbreaker for someone, then the solution right now is to switch their desktop environment to KDE Plasma, LXQt or some other kf5/qt5-using desktop. You are missing menu icons in most of your applications anyway (you probably use more than just GIMP and Inkscape).
Comment 39 hellwoodfire 2020-09-28 17:37:29 UTC
Why don't you try to influence the stupid decisions of GTK3?
Comment 40 Heiko Tietze 2020-09-29 09:23:07 UTC
Mistakenly I thought the issue is the default being Automatic which is then hide. And simply changing this to Show would solve the problem. But I was wrong, the problem is that under no circumstance the icon is drawn. And it seems we do everything we can:

[11:11] <caolan> buovjaga, htietze: The toplevel menubar and menus are described by us to gtk with GMenuModel (https://developer.gnome.org/gio/stable/GMenuModel.html) and we do give it our icons, after that point its out of our hands

Of someone has a solution we will happily implement it.
Comment 41 Maxim Monastirsky 2020-09-29 12:03:33 UTC
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/libreoffice/core/commit/?id=1ae450504cf57457f9702684b1517fda1dd3c481 was merged, because it was based on an older revision of gtksalmenu.cxx.
Comment 42 Heiko Tietze 2020-09-29 12:05:45 UTC
(In reply to Maxim Monastirsky from comment #41)
> Turns out the problem is on our side after all...

In this case: NEW
Comment 43 hellwoodfire 2020-09-29 12:33:16 UTC
Now that you found that the problem is in fact on your side, can someone fix the problem? I'd say the importance is much higher than minor. It's major.
Comment 44 Ron Johnson 2020-09-29 13:10:34 UTC
Thank you, Heiko and Maxim!
Comment 45 Ming Hua 2020-09-29 13:33:08 UTC
(In reply to Heiko Tietze from comment #42)
> (In reply to Maxim Monastirsky from comment #41)
> > Turns out the problem is on our side after all...
> 
> In this case: NEW
Then shouldn't we reopen bug 126830 instead of this one?

After all, the summary of this bug is "Showing menu icons by default".  Unless we plan to not only make the options work again for GTK3 VCL, but also change the default setting from automatic (AFAIU, following GTK3/GNOME global setting) to always, I'm afraid changing the status of this bug from WONTFIX to NEW is going to set up wrong expectations.
Comment 46 Rizal Muttaqin 2020-09-29 13:54:37 UTC
(In reply to Ming Hua from comment #45)
> (In reply to Heiko Tietze from comment #42)
> > (In reply to Maxim Monastirsky from comment #41)
> > > Turns out the problem is on our side after all...
> > 
> > In this case: NEW
> Then shouldn't we reopen bug 126830 instead of this one?
> 
> After all, the summary of this bug is "Showing menu icons by default". 
> Unless we plan to not only make the options work again for GTK3 VCL, but
> also change the default setting from automatic (AFAIU, following GTK3/GNOME
> global setting) to always, I'm afraid changing the status of this bug from
> WONTFIX to NEW is going to set up wrong expectations.

I agree with you but the options itself has gone. So, we need a new report to bring back the option
Comment 47 hellwoodfire 2020-09-30 04:14:44 UTC
(In reply to Rizal Muttaqin from comment #46)
> I agree with you but the options itself has gone. So, we need a new report
> to bring back the option

What do you mean by "a new report to bring back the option"? How do we do that?
Comment 48 Maxim Monastirsky 2020-09-30 06:57:50 UTC
I submitted the fix as https://gerrit.libreoffice.org/c/core/+/103644. There is still no UI for settings icons on, but this can be done by changing the IsSystemIconsInMenus expert config to false, and restarting LO. (Or temporarily starting a different vclplug, and setting it from there.)
Comment 49 hellwoodfire 2020-09-30 14:46:24 UTC
(In reply to Maxim Monastirsky from comment #48)
> I submitted the fix as https://gerrit.libreoffice.org/c/core/+/103644. There
> is still no UI for settings icons on, but this can be done by changing the
> IsSystemIconsInMenus expert config to false, and restarting LO. (Or
> temporarily starting a different vclplug, and setting it from there.)

Thank you very Much Maxim! 
What will be the LibreOffice version with the fix ? ("103644 - Restore the fix for tdf#126830")
Comment 50 Ron Johnson 2020-09-30 15:19:55 UTC
Regarding comment #48 ("There is still no UI for settings icons on, but this can be done by changing the IsSystemIconsInMenus expert config to false, and restarting LO.")

In LO 6.4.6, I went into expert config but IsSystemIconsInMenus is already "false" and the menu icons do not display.
Comment 51 Buovjaga 2020-09-30 15:21:32 UTC
(In reply to hellwoodfire from comment #49)
> (In reply to Maxim Monastirsky from comment #48)
> > I submitted the fix as https://gerrit.libreoffice.org/c/core/+/103644. There
> > is still no UI for settings icons on, but this can be done by changing the
> > IsSystemIconsInMenus expert config to false, and restarting LO. (Or
> > temporarily starting a different vclplug, and setting it from there.)
> 
> Thank you very Much Maxim! 
> What will be the LibreOffice version with the fix ? ("103644 - Restore the
> fix for tdf#126830")

Looks like it will be in 7.0.3 https://wiki.documentfoundation.org/ReleasePlan/7.0#7.0.3_release
Comment 52 Ming Hua 2020-09-30 22:20:02 UTC
(In reply to Rizal Muttaqin from comment #46)
> (In reply to Ming Hua from comment #45)
> 
> > Then shouldn't we reopen bug 126830 instead of this one?
> > 
> > After all, the summary of this bug is "Showing menu icons by default". 
> > Unless we plan to not only make the options work again for GTK3 VCL, but
> > also change the default setting from automatic (AFAIU, following GTK3/GNOME
> > global setting) to always, I'm afraid changing the status of this bug from
> > WONTFIX to NEW is going to set up wrong expectations.
> 
> I agree with you but the options itself has gone. So, we need a new report
> to bring back the option
Good idea (to be frank, I think any idea is better than continuing a convoluted discussion here), so I've filed 137171.
Comment 53 Ming Hua 2020-09-30 22:26:42 UTC
(In reply to Ron Johnson from comment #50)
> Regarding comment #48 ("There is still no UI for settings icons on, but this
> can be done by changing the IsSystemIconsInMenus expert config to false, and
> restarting LO.")
> 
> In LO 6.4.6, I went into expert config but IsSystemIconsInMenus is already
> "false" and the menu icons do not display.
The config settings are there, yes, but they don't work for reasons detailed in comment 41.  What Maxim did is to make those settings have actual effect.

Unfortunately, existing versions like 6.4.6 won't benefit from Maxim's fix.  You'll probably have to upgrade to 7.0.3 (when it's released, scheduled mid-November) or higher to get the fix.
Comment 54 Timur 2020-10-07 07:57:50 UTC
I see that commit was also cherry-picked for 6.4.7.
I guess this bug should be closed as Fixed, unless there's some reason not to be.
Comment 55 Heiko Tietze 2020-10-07 08:07:47 UTC
(In reply to Timur from comment #54)
> I see that commit was also cherry-picked for 6.4.7.
> I guess this bug should be closed as Fixed, unless there's some reason not
> to be.

It's not solved. See recent discussion, in particular c41.
Comment 56 hellwoodfire 2020-10-07 12:46:18 UTC
(In reply to Heiko Tietze from comment #55)
> (In reply to Timur from comment #54)
> > I see that commit was also cherry-picked for 6.4.7.
> > I guess this bug should be closed as Fixed, unless there's some reason not
> > to be.
> 
> It's not solved. See recent discussion, in particular c41.

Comment 53 says it's fixed in version 7.0.3, scheduled mid-November.
However the "show icons in menus" option (Tools > Options > View) will not be shown because 137171. 

I hope the System Wide Setting in Linux Mint (Themes: Settings: Show icons in menus) will effectively turn it on in LibreOffice 7.0.3. 

Can someone validate that the fix (Comment 53) really make the menu icons visibles in Linux Mint ?
Comment 57 Timur 2020-10-07 13:29:44 UTC
Validate yourself running LO daily master, 1-file from https://libreoffice.soluzioniopen.com/daily-version/.

If you looked at bug 137171 it's WontFix.
Comment 58 hellwoodfire 2020-10-29 05:02:33 UTC
Just tested the prerelease version of 7.0.3 on Linux Mint, and I can confirm that it's fixed. Thank you so much to Maxim Monastirsky and everyone who took the time to really understand the problem. THANK YOU VERY MUCH! I really appreciate to have my icons back in the menus on GTK3. And I think many other people will also appreciate. It's awesome! Working without the icon in the menus was terribly difficult. THANK YOU AGAIN! You are awesome!
Comment 59 Timur 2020-10-29 08:09:09 UTC
I guess we may close.
Comment 60 Vincent Bamps 2020-10-29 21:06:37 UTC
I tested LibreOffice version 7.0.3 on Linux 18 Mint Cinnamon 64-bit.
It works.

I was stuck on version LibreOffice 6.3.5 because the problem occurred for the next versions and till version 7.0.3.
Thanks a lot to all the people working on this.
Comment 61 hellwoodfire 2020-10-29 21:31:20 UTC
Thank you, Heiko and Maxim! You are awesome!
Comment 62 hellwoodfire 2020-11-05 18:26:36 UTC
Sorry. I just discovered that works only if the ShowIconsInMenues option was previously set in a previous version of LibreOffice, when the option was there (eg  6.3.4)

There is a workaround for users with the GTK3 rendering: 

Edit the registrymodifications.xcu file 

It's here for the PPA or DED version (~ is your home folder):
~/.config/libreoffice/4/user/registrymodifications.xcu

or It's here for a flatpak:
~/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/registrymodifications.xcu 

Edit (or add) the following lines. 

<item oor:path="/org.openoffice.Office.Common/View/Menu"><prop oor:name="IsSystemIconsInMenus" oor:op="fuse"><value>false</value></prop></item>

<item oor:path="/org.openoffice.Office.Common/View/Menu"><prop oor:name="ShowIconsInMenues" oor:op="fuse"><value>true</value></prop></item>


As you can see, with LO version 7.0.3, the logic is weird:  
IsSystemIconsInMenus must be set to false.
ShowIconsInMenues must be set to true.
Comment 63 Buovjaga 2020-11-06 05:21:46 UTC
(In reply to hellwoodfire from comment #62)
> Sorry. I just discovered that works only if the ShowIconsInMenues option was
> previously set in a previous version of LibreOffice, when the option was
> there (eg  6.3.4)
> 
> There is a workaround for users with the GTK3 rendering: 
> 
> Edit the registrymodifications.xcu file 

You don't have to do that. Just open expert configuration and change it there.
Comment 64 Hagar Delest 2021-04-04 10:53:56 UTC
Hi,

I still see some differences between the generic VCL plugin and the gtk3 one, some being quite unaesthetic. See the discussion here: https://ask.libreoffice.org/en/question/235915/why-did-the-icons-disappear-in-the-menus-of-version-64/

I'm not sure the issue is really fixed.
Comment 65 Camaleón 2022-07-27 06:53:55 UTC
(In reply to hellwoodfire from comment #62)
> Sorry. I just discovered that works only if the ShowIconsInMenues option was
> previously set in a previous version of LibreOffice, when the option was
> there (eg  6.3.4)
> 
> There is a workaround for users with the GTK3 rendering: 
> 
> Edit the registrymodifications.xcu file 
> 
> It's here for the PPA or DED version (~ is your home folder):
> ~/.config/libreoffice/4/user/registrymodifications.xcu
> 
> or It's here for a flatpak:
> ~/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user/
> registrymodifications.xcu 
> 
> Edit (or add) the following lines. 
> 
> <item oor:path="/org.openoffice.Office.Common/View/Menu"><prop
> oor:name="IsSystemIconsInMenus"
> oor:op="fuse"><value>false</value></prop></item>
> 
> <item oor:path="/org.openoffice.Office.Common/View/Menu"><prop
> oor:name="ShowIconsInMenues" oor:op="fuse"><value>true</value></prop></item>
> 
> 
> As you can see, with LO version 7.0.3, the logic is weird:  
> IsSystemIconsInMenus must be set to false.
> ShowIconsInMenues must be set to true.

I can confirm doing this unlogical steps restores the sub-menu icons.
I just have installed on my Debian 11 with XFCE 4.16 a clean:
 
Version: 7.3.5.2 / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: es-ES
Calc: threaded

When first opening Writer, submenu showed no icons and wondered why they were missing and also no visible option to tweak this as it used to be.