<Swing Dev> [13] Review Request: 8225144 [macos] In Aqua L&F backspace key does not delete when Shift is pressed

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Jun 5 02:24:15 UTC 2019


Hi, Semyon.

I would like to investigate other macOS specific shortcuts in a separate CR

>> Please add also Ctrl+BackSpace (delete previous char) 

I made a quick look and it seems ctrl+backspace does not work in some application like Thunderbird.

> and Command+BackSpace (delete previous word) keystrokes which are ignored in Aqua as well.

On macOS to remove the previous word the "Opt+BackSpace" is used and it is implemented.

Also "Ctrl+BackSpace" and "Command+BackSpace", unlike "Opt+BackSpace" are not mentioned in the
list of "standard" shortcuts:
https://support.apple.com/en-us/HT201236


On 04/06/2019 09:18, semyon.sadetsky at oracle.com wrote:
> 
> --Semyon
> 
> 
> On 6/3/19 5:16 PM, Sergey Bylokhov wrote:
>> Hello.
>> Please review the fix for JDK 13.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8225144
>> Fix: http://cr.openjdk.java.net/~serb/8225144/webrev.00
>>
>> This bug is a version of JDK-6361367[1] but this time for Aqua L&F.
>>
>> In JTextFields and JTextAreas when pressing with backspace and shift nothing happens,
>> but the native programs delete under these circumstances.
>>
>> In the fix in the Aqua L&F, the key binding for "shift+backspace" is added, actually, it means that shift in this shortcut will be ignored and simple backspace action will be executed.
>>
>> [1] https://bugs.openjdk.java.net/browse/JDK-6361367
>>
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list