Fix OptionalMenu highlighting in loader#518
Conversation
|
Sorry for late reply, was on vacation (Lunar New Year 🎈).
I haven't seen this before, is this issue happens on specific DCC ?
Hmmm, the behavior was referenced from Maya's menu, and the rule that I applied was "trigger what's been highlighted". Shouldn't it triggers the thing that is currently on top of ? |
|
Ah, for the first issue, I think I've get what you're saying. But the solution in this PR (removing Having that said, I have had take a deep look into this and I found the cause was action widget's label did not set So just adding 🎉 |
|
Looks promising @davidlatwe ! |
|
Thanks @tokejepsen , see if @iLLiCiTiT could confirm what I have found. :) |
@davidlatwe I can confirm it works :) But to be hones I don't like that mouse event (highlighting) is handled in parent item instead of item itself, because OptionalAction is not usable in QMenu (which may be handy in future), but the true is, nobody will touch this code for a long time so I believe it doesn't matter.
Qt is fully customizable if you know how :) (I don't know at this moment but it won't be a problem to try) Now question is if I should cancel this PR and create new (or you'll create new)? |
I don't like it, too ! But it was painful to find the way to poperly implement the desired behavior from each item. 🤕
Agree. 🛠
I think I would close this one and reference it in the new PR. And would be great if you could submit a new one. :) |
|
Ok, I let this PR open for now, to keep it in my mind, and will look if is possible to implement mouse events in |
|
I had a little bit of free time for exploration and result is that it is possible, but only with overriding QMenu. With this change:
|
|
moved to #521 |



Issue to solve:
Suggestion: