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
Wed Mar 16 07:46:35 UTC 2022


On Wed, 16 Mar 2022 06:05:13 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Since List.focusCellHighlightBorder uses the same focusRingColor as used by Table we can change it for List as well. Can I make changes to List using this issue and PR or should I track it by adding a new JBS bug/PR ?
>
> Just thinking,  Do we need to manipulate hue and saturation for focus ring?
> It seems from native "Numbers" app which is closest to Tables & cells, I see the focus ring is always blue irrespective of what the selection background (and system accent color) is
> and since Aqua should mimic native look, so I guess just this change will probably do
>  ```
> - Table.focusCellHighlightBorder", focusCellHighlightBorder,
>  + Table.focusCellHighlightBorder", new BorderUIResouce.LineBorderUIResouce(Color.blue), 2),

<img width="1273" alt="Screenshot 2022-03-16 at 1 04 56 PM" src="https://user-images.githubusercontent.com/43534309/158540377-e97cc3c7-64e9-487d-948d-bc1941d5af28.png">

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

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



More information about the client-libs-dev mailing list