RFR: 7124282: [macosx] Can't see table cell highlighter when the highlight border is the same color as the cell. [v8]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Thu Apr 21 16:32:36 UTC 2022
On Thu, 21 Apr 2022 15:34:05 GMT, Harshitha Onkar <duke at openjdk.java.net> wrote:
>> It seems KEYBOARD_FOCUS_COLOR via `focusRingColor` is also used for menuSelectedBackgroundColor which is used for
>>
>> CheckBoxMenuItem.selectionBackground
>> ComboBox.selectionBackground
>> Menu.selectionBackground
>> MenuBar.selectionBackground
>> MenuItem.selectionBackground
>> "PopupMenu.selectionBackground", menuSelectedBackgroundColor,
>> RadioButtonMenuItem.selectionBackground
>>
>> which might also get affected if you use new property, so you need to test all those widgets if you intend to use reuse KEYBOARD_FOCUS_COLOR so I guess safe bet is to use new color as you mentioned to limit the change to highlight color.
>
> @prsadhuk With the new changes a public method is added to AquaImageFactory, does this require a CSR?
If you are talking about getCellHighlightColorUIResource() then no. We don't have specs for this class.
I have added similar getSelectedControlColorUIResource method for JDK-8251377 without CSR
-------------
PR: https://git.openjdk.java.net/jdk/pull/7768
More information about the client-libs-dev
mailing list