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
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
I see the icons in sub menus.
what is missing where ?
(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?
I would suggest to change it to show by default in menubar.
(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 ?
(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/
> 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.
(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
While GNOME 3 software tend to remove feature I think for relative complex software it's not appropriate to not showing icon in menu.
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.
(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/
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!
*** Bug 124170 has been marked as a duplicate of this bug. ***
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.
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
(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.
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.
*** Bug 128676 has been marked as a duplicate of this bug. ***
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.
Please, do not change the status again.
*** Bug 130518 has been marked as a duplicate of this bug. ***
*** Bug 131694 has been marked as a duplicate of this bug. ***
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.
(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.
@hellwood this is why I've stayed with LO 6.1.3 on Xubuntu 18.04.
@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.
@Buovjaga Same thing for Inksape, it just ignore this stupid setting and still shows the useful icons we all want in our menus.
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.
(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).
@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 ?
(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.
(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.
(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.
How can I "hack" my disto to show the icons?
(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).
Why don't you try to influence the stupid decisions of GTK3?
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.
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.
(In reply to Maxim Monastirsky from comment #41) > Turns out the problem is on our side after all... In this case: NEW
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.
Thank you, Heiko and Maxim!
(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.
(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
(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?
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.)
(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")
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.
(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
(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.
(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.
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.
(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.
(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 ?
Validate yourself running LO daily master, 1-file from https://libreoffice.soluzioniopen.com/daily-version/. If you looked at bug 137171 it's WontFix.
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!
I guess we may close.
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.
Thank you, Heiko and Maxim! You are awesome!
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.
(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.
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.
(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.