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

Harshitha Onkar duke at openjdk.java.net
Thu Mar 17 18:11:33 UTC 2022


On Thu, 17 Mar 2022 17:56:03 GMT, Harshitha Onkar <duke at openjdk.java.net> wrote:

>> @prsadhuk Thank you for suggesting possible alternatives.
>
> There are two different approaches that we can take at this point.
> 
> 1. Do we go forward with the present changes? (hue and saturation offset, brightness set to 100%) 
> 2. Keep a common cell focus ring color - Blue as observed in few native apps (Numbers App). In this scenario we keep the cell focus ring color set to blue when selection background color is NOT blue and return a different color when selection background is Blue.
> 
> Trying to find the best solution that takes into account native L&F and present Aqua L&F implementations.

> Probably to get an identical focus ring, we need to use [NSSetFocusRingStyle](https://developer.apple.com/documentation/appkit/1473702-nssetfocusringstyle?language=objc)

This is more about placement of the focus ring (and available only from macOS 10.1+ versions) and would require native code changes. Might not be an ideal solution in this context.

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

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



More information about the client-libs-dev mailing list