On Tue, 6 Sep 2022 05:37:02 GMT, Abhishek Kumar <[email protected]> wrote:

> Disabled JMenu foreground color was not grayed out in GTK LAF for version 3. 
> The issue didn't occur in GTK-2. 
> After analysis it has been found that the JMenu widget type was changed to 
> JMenuBar and the color value returned for the foreground color in disabled 
> state was close to black color (RGB 0,0,0) for menubar which is not 
> differentiable from enabled state foreground color.
> 
> As a fix for this problem, if the menubar is in disabled state then the 
> widget is changed to JMenu and color value returned for disabled menu is gray 
> color.
> 
> An automated test case has been added and checked in CI, link is added in JBS.

This pull request has now been integrated.

Changeset: 9d6b0285
Author:    Abhishek Kumar <[email protected]>
Committer: Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/9d6b0285f53599816c30393b87d16772ef6314b7
Stats:     130 lines in 2 files changed: 130 ins; 0 del; 0 mod

8234315: GTK LAF does not gray out disabled JMenu

Reviewed-by: serb, psadhukhan

-------------

PR: https://git.openjdk.org/jdk/pull/10176

Reply via email to