RFR: 8267374: (macos) Left Option+Up/Down arrow dont traverse to beginning/end of line in textarea [v5]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Jul 13 11:58:05 UTC 2022
On Tue, 12 Jul 2022 19:31:42 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Even if JavaFX, Left and Right Option key is mapped to ALT so I guess we will be consistent with that too.
>
>> > One macOS you will not see the "Alt" key as well, but we use that name.
>>
>> At least I can see
>
> Just a clarification:
>
> On the new keyboards, it does not have it, I have two laptops where the "alt" label is missing:
> 
>
> The official document about the keyboard [mentions ](https://support.apple.com/en-us/HT201236) the "alt" key in case the windows keyboard is used: `"On keyboards made for Windows PCs, use the Alt key instead of Option, and the Windows logo key instead of Command."`
>
> So I do not see a reason why the "right option" - "alt gr" key on the PC keyboard cannot be mapped to the ALT_GRAPH, same as "left option" - "alt" is mapped to the ALT.
The document mentioned "use the Alt key", which is what both Option keys are mapped to now. I dont see anywhere it is mentioned to use "AltGraph" key, so I dont see the need of mapping Right Option to Alt Graph....I dont see any native app where Right Option is being used as "AltGraph"..
As I mentioned, even FX maps both keys to Alt...
-------------
PR: https://git.openjdk.org/jdk/pull/9230
More information about the client-libs-dev
mailing list