RFR: 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel [v36]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Jul 30 04:23:59 UTC 2025
On Sun, 27 Jul 2025 09:56:45 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
> > Did you update your Windows 10 to latest version? I guess it was told by Microsoft as reported by Phil that "the visual "cue" we've relied on for in Windows 10 was just an accident of some theming that is now gone.
> > so I thought the skin background blue effect would have been replaced in the "new theme"
>
> Yes, i'm on the latest version of Windows 10. I think what Microsoft rep meant is that this behavior was fixed in Windows 11 but i do not think they ever tried to fix it in W10 and now when W10 is at the EOL they never will.
Yes I also thought so and for that eventuality I had the version check
but now since that is removed and we need to unify the code both for Windows 10 and 11 I have updated the PR to fix this
With the latest fix in Windows 11, it looks like this (no change visually from previous)
<img width="421" height="383" alt="image" src="https://github.com/user-attachments/assets/26f6330c-8067-480f-b29b-f0fce9544db5" />
but it will cause Windows 10 to look like Windows 11..
<img width="352" height="346" alt="image" src="https://github.com/user-attachments/assets/81d99fd8-98b7-40de-8ded-a47df8934625" />
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23324#issuecomment-3134805655
More information about the client-libs-dev
mailing list