Closed Zero3K closed 6 years ago
The problem with using transparent background for items: thy can't be seen when the menu item is selected, the dark blue of selection and the black of the icon are too similar. Coloring the icons white will have the same problem just for unselected menu items.
Any suggestions what could be done instead?
Use icons that have multiple colors in them.
Won't help, dark colors can't be seen when selected anyway. This does even make the problem worse since every item with every color would need a check if it's visible. And keep in mind the window and selection colors can be changed in windows, thus the items would have to colors always visible.
These are the kinds of icons that I am writing about:
Yes, that's what I guessed and you can easily checkout the problem with them: Select the Extension Preference, the blue of this icon can hardly be seen with the dark blue of the selection. Furthermore if you change your selection color to orange, the FlashGot Icon is hard to see and so on.
The other problem is clearly the effort to create such items.
The only feasible option I see right now is using custom drawong of the icons. The idea is: When the MenuItem is not selected the white pixels of them get replaced by the backcolor of the MenuItem thus look like having a transparent background. When selected they are painted originally with the white colors and are still visible.
I will look into custom drawing and if the effort is not too high I will implement it.
Thankfully it was easier to implement as expected. The result for normal and high contrast settings are following:
This will be in the next release.
Does it also affect the icons shown in the widget list?
No, cause they should still look like buttons.
Okay. By the way, what else is planned for the new version?
Implemented in 0.5.9.1 as described.
It would be nice if you changed the background color of the icons used by it to be transparent instead of white (except for the ones that have a border around them).