Summary: | hiding menubar icons | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | Bartemius Crouch <egxoun8uya67izy> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | cfeck, hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Bartemius Crouch
2010-10-05 22:09:33 UTC
I was wrong, I thought I had put whish Apart from the visual clutter that menu icons might produce for some users, it can also speed up initial menu usage because it does not need to load the icons. The hiding of icons in the pull-down or pop-up menus is a feature of the style, as such I am reassigning to Oxygen/style, assuming that you are using the Oxygen widget style. Thank you for correcting the messages. Yes the style is oxygen, I do not know whether it is a problem of oxygen style, also because going in System Setting → Style → Fine Tuning, you can hide the icons (toolbar, buttons) in any style except for the menubar, then I do not know if the problem is with oxygen, but is more generally any style. mmm. Right now, oxygen does _not_ allow to hide icons in either the menubars and the menu. Will consider, but having icons has a purpose I must say. I do believe that putting icons in MenuBars looks somewhat awkward to me, but thats more an application issue than a style issue. (most applications don't do that, right ?) Can you point me to one app that puts icons in toolbars ? Thanks in advance, Hugo I think that in your question you would say menubar and not toolbar, however in all applications there are icons in the menubar, of course, some menu item did not, but they are rare. The only application that did not have many icons in the menu is quassel irc. I recently tried Ubuntu in VirtualBox and I noticed that there are no icons in the menubar, I find it very clean and elegant in that way, I wish the same happens in kde. I also do not think it's a matter of style and oxygen, I'd like to see a fine tuning option that allows you to hide icons from the menubar, as is now done for the buttons and the toolbar. Thanks for taking my request into consideration. > 2010-10-07 12:05:11 --- I think that in your question you would say
> menubar and not toolbar, however in all applications there are icons in
> the menubar, of course, some menu item did not, but they are rare. The
> only application that did not have many icons in the menu is quassel irc.
> I recently tried Ubuntu in VirtualBox and I noticed that there are no
> icons in the menubar, I find it very clean and elegant in that way, I wish
> the same happens in kde. I also do not think it's a matter of style and
> oxygen, I'd like to see a fine tuning option that allows you to hide icons
> from the menubar, as is now done for the buttons and the toolbar. Thanks
> for taking my request into consideration.
So the way I unserstand right you're talking about icons in 'menu', not
menubars (the bar usually located above the toolbar, in the main window).
Correct ?
I'm talking about the icons of the menu pop-up contained in the menubar, to understand those icons near to items such: about kde, report bug, quit, etc. I wish I could hide those icons. yes thats clear. Bespin does that, so I guess oxygen can too. Although I would rather have it as an independent option, located at the same place as the 'show icons in buttons', that styles may or may not honor, rather than a fine tuning in oxygen. Christoph ? What do you think ? Actually you do not need to change anything in Oxygen. Qt menus respect the Qt::AA_DontShowIconsInMenus attribute, and KApplication can make that configurable. SVN commit 1194750 by cfeck: Allow to hide menu icons I tested this for three weeks, and when I wanted to revert to the old behavior, I was really shocked how cluttered the menus look with icons :) There are only two places, where I initally missed the icons: - "Classic" KDE menu - Konqueror Bookmarks menu For those places, we could request icons by using the QAction property, but this probably has to discussed with users. Actually, I now like the classic menu not showing icons, because it opens much faster without them. The bookmark menu never was a problem speedwise. See http://svn.reviewboard.kde.org/r/5609/ FEATURE: 253339 GUI: M +22 -2 kdebase/workspace/kcontrol/style/finetuning.ui M +13 -0 kdebase/workspace/kcontrol/style/kcmstyle.cpp M +2 -0 kdelibs/kdeui/kernel/kglobalsettings.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1194750 Hugo, you can decide if you want to "remove the empty gap" that the icons previously occupied. But beware that specific actions can force icons despite the global QApplication setting. QStyleOptionMenuItem has a maxIconWidth property, I think this is 0 when there are no icons on the whole menu. |