RFR: 8267374: (macos) Left Option+Up/Down arrow dont traverse to beginning/end of line in textarea [v5]

Sergey Bylokhov serb at openjdk.org
Mon Jun 27 20:25:49 UTC 2022


On Mon, 27 Jun 2022 03:22:24 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> src/java.desktop/macosx/classes/com/apple/laf/AquaKeyBindings.java line 95:
>> 
>>> 93:         "alt altgraph LEFT", DefaultEditorKit.previousWordAction,
>>> 94:         "alt altgraph RIGHT", DefaultEditorKit.nextWordAction,
>>> 95:         "alt UP", DefaultEditorKit.beginLineUpAction,
>> 
>> I find it utterly bizarre to say we need "altgraph" when macOS doesn't have altgraph - certainly not on the k/bs on current mac books or imacs.
>> 
>> My take is that the previous fix JDK-8151136 was a mistake and we should have just excluded the test there on macOS.
>
> I also agree.

That's not a mistake, the swing was updated in a few places here and there to support it, for example:
https://bugs.openjdk.org/browse/JDK-8194873

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

PR: https://git.openjdk.org/jdk/pull/9230



More information about the client-libs-dev mailing list