RFR: 7124282: [macosx] Can't see table cell highlighter when the highlight border is the same color as the cell. [v3]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Mar 28 06:34:42 UTC 2022


On Sat, 26 Mar 2022 00:33:47 GMT, Harshitha Onkar <duke at openjdk.java.net> wrote:

>> I guess "selectionBackground" matches the "highlight" color which seems to follow accent color, by default but we can make highlight color different from accent color, but in this case focus color should match accent color, not highlight color...please confirm if this is what is happening..
>> Also, alternateSelectedControlColor is deprecated so you should consider replacing with [selectedContentBackgroundColor](https://developer.apple.com/documentation/appkit/nscolor/2998830-selectedcontentbackgroundcolor)
>
> @prsadhuk Cell Focus ring color does not change with highlight color settings. Tested for following cases -
> 
> <img width="1060" alt="image" src="https://user-images.githubusercontent.com/95945681/160217226-7d4236c7-1d3e-4062-8fad-974a13374624.png">

In my testing in osx10.15 with your fix, I see focus ring is following highlight color and not accent color...did you modify anything in your fix?
<img width="688" alt="Screenshot 2022-03-28 at 11 52 09 AM" src="https://user-images.githubusercontent.com/43534309/160338556-117c8e9b-4e78-4368-8040-dfca1d82e1ab.png">

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

PR: https://git.openjdk.java.net/jdk/pull/7768



More information about the client-libs-dev mailing list