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

Avoid a missing JCheckBoxItem checkmark for boolean actions without an icon #7474

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

eirikbakke
Copy link
Contributor

In menu bars, a boolean action will become a JCheckBoxMenuItem which can work with or without a custom icon. If the action has no icon of its own, the LAF will provide a checkmark icon instead, which is good. But due to a bug in org.openide.awt.Actions, a blank icon is used instead. Fix this so the checkmark properly appears in this case.

(Mostly relevant for NetBeans Platform apps; I haven't seen this case appear in the NetBeans IDE.)

@eirikbakke eirikbakke added Platform [ci] enable platform tests (platform/*) UI User Interface labels Jun 13, 2024
@neilcsmith-net neilcsmith-net added this to the NB23 milestone Jul 19, 2024
Copy link
Member

@mbien mbien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good. I could still see the same check icons in the NB menus - which is a good sign I suppose :)

@mbien mbien merged commit 3242f90 into apache:master Jul 25, 2024
33 checks passed
@eirikbakke
Copy link
Contributor Author

Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform [ci] enable platform tests (platform/*) UI User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants