RFR: JDK-8287261: [macos] JList Focus Ring color doesn't follow Accent color changes on macOS [v2]

Harshitha Onkar honkar at openjdk.java.net
Thu Jun 2 17:21:23 UTC 2022


On Thu, 2 Jun 2022 00:55:07 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> Can you please double check how the native applications/components look when the colors are "similar".

@mrserb There are different variations in the native applications -

On Reminders App the background color remains the same (light gray) irrespective of changes in accent color.
<img width="474" alt="Screen Shot 2022-06-02 at 9 54 06 AM" src="https://user-images.githubusercontent.com/95945681/171683525-142cbcef-7e16-4808-b7aa-d79079832646.png">

On edit mode it changes to -
<img width="474" alt="Screen Shot 2022-06-02 at 9 59 20 AM" src="https://user-images.githubusercontent.com/95945681/171684166-9fd757b5-0b3c-4fee-9631-4a7d702945f2.png">

Under notification settings - the background color changes with accent color but it doesn't have a focus ring.

<img width="333" alt="Screen Shot 2022-06-02 at 10 03 13 AM" src="https://user-images.githubusercontent.com/95945681/171684797-d5aec141-c3cf-4534-960c-979c3cf19b7f.png">

At present a focus ring is added to JLists, but since it is almost the same color as the background it is not visible. To keep it consistent with JTable changes, the ring color is made brighter and prominent. Please let me know your suggestion or thoughts on the changes.

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

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



More information about the client-libs-dev mailing list