On Sun, 5 Oct 2025 05:37:38 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> Test fails to pick red color from JLabel in ubuntu24.04 even though it passes > is ubuntu 22.04. > Seems like the red pixel from the font is not being picked up despite the > fact that label foreground color actually is rendered in red. > > It is seen in ubuntu 22.04 the font used for JLabel is "family=DejaVu > Sans,name=DejaVu Sans,style=plain,size=12" > while in ubuntu 24.04 the font used for JLabel is "family=Noto Sans,name=Noto > Sans,style=plain,size=12" > > I have made it consistent across version using same font and made it larger > and bold and using such text for easier pickup of redpixel. > It passes in all platforms including ubuntu24.04 This pull request has now been integrated. Changeset: 650fd35b Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/650fd35b3b30bf16e8caad968bd335d423c87b7d Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8335646: Nimbus : JLabel not painted with LAF defined foreground color on Ubuntu 24.04 Reviewed-by: aivanov, dnguyen, serb ------------- PR: https://git.openjdk.org/jdk/pull/27635
