RFR: 8283214: [macos] Screen magnifier does not show the magnified text for JcomboBox [v5]
Abhishek Kumar
abhiscxk at openjdk.org
Tue Jul 25 12:07:49 UTC 2023
On Mon, 24 Jul 2023 19:18:10 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> That's exactly my concern: in other L&Fs `AccessibleJComboBox` handles the scenario yet in Aqua L&F it is handled by a different component which is not a problem okay per se. What is a problem is that retrieving the accessible name depends on paint:
>
> * if `AquaComboBoxButton.paint` hasn't been called for whatever reason, there's no accessible name;
>
> * if the value in the combo box is changed, the accessible name isn't updated until paint occurs.
I rechecked again but couldn't find any other way to either set accessible name or get the current selected item other than `AquaComboBoxButton.paint`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14497#discussion_r1273430651
More information about the client-libs-dev
mailing list