RFR: 8024624: [TEST_BUG] [macosx] CTRL+RIGHT(LEFT) doesn't move selection on next cell in JTable on Aqua L&F

Miguel Munoz swingguy1024 at yahoo.com
Wed Mar 16 06:21:53 UTC 2022


On the MacOS, it's the OPTION-CLICK event, not the COMMAND-CLICK event that does the same thing as CONTROL-CLICK on Windows and other platforms. Every platform has modifier key used to advance the cursor by words instead of characters, but the modifiers are different on the Mac.

To see this working correctly, try an app running under JDK 8, which was the last one they worked under. (Actually, I haven't tried 9 or 10) Or you can try any non-java application. This is a standard user interface convention, and Java should continue to support it like it did through Java -8.

— Miguel Muñoz
    On Tuesday, March 15, 2022, 06:53:19 PM PDT, Sergey Bylokhov <serb at openjdk.java.net> wrote:  
 
 On Sat, 12 Mar 2022 01:27:34 GMT, DamonGuy <duke at openjdk.java.net> wrote:

> Apple Pages has no support at all for these table navigation functions other than `COMMAND+LEFT_CLICK`. Excel has a selection mode that can be toggled on/off using SHIFT+F8. I also tested in macOS's `System Preferences > Keyboard > Text` and `CMD+CLICK` is the only supported way to select non-adjacent cells as well.

Since for any reason the macOS does not supported such navigation in the tables and use it by mission control it seems correct to do the same in the native look and feel, and ignore the test.

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

PR: https://git.openjdk.java.net/jdk/pull/7792
  


More information about the client-libs-dev mailing list