8268084: [macos] Disabled JMenuItem arrow is not disabled #5310
It is seen in macos disabled JMenuItem arrow is not disabled even though JMenuItem itself is disabled.
Issue is when AquaMenuPainter#paintMenuItem() is called, it tries to draw a ImageIcon image of the arrow via ImageIcon#paintIcon which tries to generate MultiResolutionCachedImage via getResolutionVariant() by calling AquaUtils#generateFilteredImage.
Proposed fix is to generate a disabled ImageIcon image of the same arrow icon and use it for disabled state.
The text was updated successfully, but these errors were encountered:
@prsadhuk This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 371 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
Going to push as commit 3281102.
Your commit was automatically rebased without conflicts.