On Mon, 14 Aug 2023 03:31:37 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:
> Disabled JPasswordField foreground color was not grayed out in GTK LAF. > > The foreground color in disabled state was close to black color (RGB 0,0,0) > for password field which is not differentiable from enabled state foreground > color. > > To fix for this problem, the widget type is changed to `TEXT_AREA `for > disable password field which returns the foreground color as gray. Checked > with Oracle linux as well and fix worked fine. > > An automated test case has been added and checked in CI, link is added in > JBS. Test mentioned in JBS also works fine with the fix. This pull request has now been integrated. Changeset: 56b8db11 Author: Abhishek Kumar <abhis...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/56b8db11c35c0ef04fdc7e3bdcb0f360ae2b2e4b Stats: 186 lines in 2 files changed: 183 ins; 0 del; 3 mod 8258970: Disabled JPasswordField foreground color is wrong with GTK LAF Reviewed-by: tr, dnguyen, psadhukhan ------------- PR: https://git.openjdk.org/jdk/pull/15263