Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove icons from menu bar and right click menus on OS X #4200

Closed
kristofferR opened this issue Nov 30, 2015 · 6 comments
Closed

Remove icons from menu bar and right click menus on OS X #4200

kristofferR opened this issue Nov 30, 2015 · 6 comments
Labels
OS: macOS Issues specific to macOS

Comments

@kristofferR
Copy link

Many small details prevent qBittorrent from feeling like a native OS X app, but the icons in the menu bar and right click menus is propably one of the easiest things to fix.

I went through a lot of my other apps on my Mac and icons in contextual menus were almost never used, except in very few logical circumstances. In qBittorrent though icons are used almost everywhere.

The OS X Human Interface Guidelines recommends against displaying an icon for every menu item:

Avoid displaying an icon for every menu item. If you include icons in your menus, include them only for menu items for which they add significant value. A menu that includes too many icons (or poorly designed ones) can appear cluttered and be hard to read.

Personally I think adhering to the OS X Human Interface Guidelines on OS X is pretty much a no-brainer, but I guess adding a non-default preference setting of displaying the options wouldn't be much more work than just removing them outright.

@ngosang
Copy link
Member

ngosang commented Nov 30, 2015

@Chocobo1 what do you think? If you want to do that keep the icons in Windows and Linux.

@Chocobo1
Copy link
Member

Chocobo1 commented Dec 1, 2015

I think we should also tag @sledgehammer999 before any further actions.

Also indirectly related, to support having crisp icon on high DPI displays, we need to fetch higher resolution pixmap of the icons. Mybe it's just me but managing so many icon resources is PITA.

@sledgehammer999
Copy link
Member

I have no objection in hiding those on OSX. And I think the menubar/menus have a flag for displaying the icons. So we will always assign them, but switch the flag off for OSX.

@sledgehammer999 sledgehammer999 added the OS: macOS Issues specific to macOS label Jan 25, 2016
@Chocobo1
Copy link
Member

Chocobo1 commented Feb 4, 2016

And I think the menubar/menus have a flag for displaying the icons.

I didn't find it.

Removing the icons from the top menu bar is easy, the code is grouped together so a #if !define(..OSX) will do the trick, see 75a6ce5.
But right-click menus, not quite, the icon path is passed to constructors which means rewriting the code could lower code maintainability...

Another idea, I think instead of removing all of it (and trying to add a icon for every menu item), we should remove non-important action's icon, preserving only the important (most used) ones, so all platforms will behave the same and benefit from this.

sledgehammer999 added a commit to sledgehammer999/qBittorrent that referenced this issue Feb 5, 2016
@sledgehammer999
Copy link
Member

@kristofferR can you check #4757 ?

@sledgehammer999
Copy link
Member

Fixed in #6952. Will be available with v3.4.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
OS: macOS Issues specific to macOS
Projects
None yet
Development

No branches or pull requests

4 participants