RFR: 8253935: [testbug] ComboBoxTest.testEditorKeyInputsWhenPopupIsShowing fails on Mac, Linux [v3]

Kevin Rushforth kcr at openjdk.java.net
Tue Oct 13 23:59:07 UTC 2020


On Tue, 13 Oct 2020 17:28:23 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

>> The test fails on Mac and Linux.
>> Cause of failure:
>> - Linux: Unlike Windows, on Linux CTRL + Arrow keys move the caret to end/beginning of current word and not to
>>   beginning/end of next word.
>> - Mac: On Mac correct keys to traverse through words is ALT + Arrow and not CTRL + Arrow. And like on Linux, ALT + Arrow
>>   keys move the caret to end/beginning of current word and not to beginning/end of next word.
>> 
>> Fix is to use correct keys and asserts according to platform.
>
> Ambarish Rapte has updated the pull request incrementally with one additional commit since the last revision:
> 
>   use getShourtcutKey()

Looks good.

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

Marked as reviewed by kcr (Lead).

PR: https://git.openjdk.java.net/jfx/pull/317


More information about the openjfx-dev mailing list