! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
menubar is a pain to use
Status:
RESOLVED: WONTFIX

Comments

Description HJ 2015-09-13 21:51:49 CEST
So i recently updated parole and noticed that menubar navigation is very hard to use without icons. So for god sake bring back the menu icons. I also have another issue how can I enable the underline shortcuts in the menubar? I couldn't find an option for that - thanks.
Comment 1 Sean Davis editbugs 2015-09-14 03:18:42 CEST
Unfortunately, images in menu items has been deprecated upstream in GTK as of 3.10.  For the underline shortcuts, hold ALT.

Marking as invalid since we're limited by the toolkit.
Comment 2 HJ 2015-09-14 12:21:41 CEST
No thats not the case they are just Turned off by default. So you just need to add gtk-menu-images=true to your ~/.config/gtk-3.0/settings.ini to enable Thema again.

Also i reopened this bug
Comment 3 HJ 2015-09-15 20:05:26 CEST
Created attachment 6457 
gtk 3.16 menu icons

Also here is a screenshot of an gtk3.16 app with menu icons
Comment 4 Sean Davis editbugs 2015-09-17 13:08:46 CEST
Yes, the code has not yet been removed.  But since they have been deprecated [1], we have gone ahead and removed them to prevent build and runtime warnings.

With the GtkImageMenuItem being deprecated, the code for it will be completely removed in the next major release (GTK 4.x). The code is deprecated in advance to allow developers time to prepare their applications.

[1] https://developer.gnome.org/gtk3/stable/GtkImageMenuItem.html

"GtkImageMenuItem has been deprecated since GTK+ 3.10. If you want to display an icon in a menu item, you should use GtkMenuItem and pack a GtkBox with a GtkImage and a GtkLabel instead. You should also consider using GtkBuilder and the XML GMenu description for creating menus, by following the GMenu guide. You should consider using icons in menu items only sparingly, and for "objects" (or "nouns") elements only, like bookmarks, files, and links; "actions" (or "verbs") should not have icons."

While it is possible to pack the icons into a box in the menu item, it breaks consistency and moves the text over. Several apps have tried this, but the results are always sub-par. See blueman 2.0 as an example: https://imgur.com/lpyEl8x
Comment 5 Sean Davis editbugs 2018-02-28 12:34:53 CET
Marking as WONTFIX based on previous comment.
Comment 6 Daniel Eriksson 2018-11-02 23:37:45 CET
Hi!

I am really sorry to see this useful, practical and important feature, both for the sake of efficiency and accessability, get removed. I understand it is not your fault, so this is not intended for complaining. I am just curious, the latest versions of many XFCE-components, such as Thunar 1.8.2 and Mousepad 0.4.1 are already ported to GTK3, if I have understood things right, but they still have icons in menus. Will those dissappear eventually too or are they using some way to go around this? The same is true for the whole set of X-Apps (https://github.com/linuxmint/xapps). Just curious how this comes. Perhaps the GtkImageMenuItem could be forked into one of the XFCE components to keep this feature? If it's too much work I understand, just wanted to check. :)

Bug #12214

Reported by:
HJ
Reported on: 2015-09-13
Last modified on: 2018-11-02

People

Assignee:
Simon Steinbeiss
CC List:
3 users

Version

Attachments

gtk 3.16 menu icons (549.76 KB, image/png)
2015-09-15 20:05 CEST , HJ
no flags

Additional information