Closed Chi-Yu closed 4 years ago
I could use some input how to address this issue without breaking other menu items.
Seeing the weird things that are going on here, we may need an upstream fix. Something weird is going on with the icons.
Others themes appear to avoid the issue by simply not addressing it which means they suffer from the same missing "active" style.
Could you explain in more detail what the issue is?
Options like "Channel Commander" and "Priority Speaker" can be toggled "active" and should reflect that state visually.
The toolbar buttons or the "Client" -> "Rightclick" item's icons?If you mean the actual context menu i have no problems distinguishing active/inactive
Seeing the weird things that are going on here, we may need an upstream fix. Something weird is going on with the icons.
Is this some new issue with one of the latest updates or was it always a thing?
Others themes appear to avoid the issue by simply not addressing it which means they suffer from the same missing "active" style.
Even the default theme?
The default theme uses a different background color behind the icon. Maybe that's a good option.
Why not use that? Would it require duplicating the icon files and theirfor waste a bunch of space?
I couldn't change the background color of the icon because that causes all sorts of glitches. I now changed the background color of the entire menu entry and that seems to work without side effects.
Example of disappearing icon when trying to style QMenu::indicator
directly:
And: Yes, the default themes shipped with the software use operating system defaults in menus which avoids the issue. You'll notice that the menu entries are highlighted in the default "hightlight" color of the operating system.
When you start messing around with the menus, things start to break.
The existing workaround is probably the best we can get. I'm closing this for now.
Options like "Channel Commander" and "Priority Speaker" can be toggled "active" and should reflect that state visually.
The default theme uses a different background color behind the icon. Maybe that's a good option.