<AWT Dev>  Review Request: 8214469 [macos] PIT: java/awt/Choice/ChoiceKeyEventReaction/ChoiceKeyEventReaction.java fails
semyon.sadetsky at oracle.com
Wed Jun 5 23:04:30 UTC 2019
On 6/5/19 2:26 PM, Sergey Bylokhov wrote:
> On 05/06/2019 08:17, semyon.sadetsky at oracle.com wrote:
>> On 6/4/19 4:56 PM, Sergey Bylokhov wrote:
>>> On 04/06/2019 09:50, semyon.sadetsky at oracle.com wrote:
>>>> Taking into account the above, that states all 3 platforms have
>>>> different behavior, what makes you think that it is a test issue?
>>> Because the test assumes that we have only two toolkit
>>> implementations platforms Windows and Unix, and it checks that all
>>> non-windows platforms should work like the motif components.
>> The test may wrongly assume this, but why the behavior depends on the
>> platform I don't understand what is fundamental reason for that?
>> The key event, if created, can be redirected to any component. Either
>> I see no obstacles to disable popup when the combo-box is not allowed
>> to receive the input focus. It is not a big deal to unify that one
>> way or another.
> It depends on the platform because these components use or emulate the
> native components.
I cannot find similar behavior of native components. What specifically
do you emulate?
A popup window that cannot be closed using keyboard only is a nonsense
for any UI. I think you need to elaborate another solution.
More information about the awt-dev