<Swing Dev> [13] Review Request: 8225144 [macos] In Aqua L&F backspace key does not delete when Shift is pressed
semyon.sadetsky at oracle.com
semyon.sadetsky at oracle.com
Wed Jun 5 15:52:08 UTC 2019
On 6/4/19 7:24 PM, Sergey Bylokhov wrote:
> Hi, Semyon.
>
> I would like to investigate other macOS specific shortcuts in a
> separate CR
What specifically you need to investigate? Those keystrokes work for all
other L&Fs.and I see no other actions mapped to them.
>
>>> 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.
That is not a valid argument. Thunderbird is base on Mozilla XUL
framework which UI components behavior can be different from the
standard one.
>
>> 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.
That's correct, but Command modifier works the same way.
>
> 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
Anyway it works in macOS native apps and costs nothing to be added to
Aqua L&F.
OK, this one is up to you...
--Semyon
>
>
> 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
>>>
>>
>
>
More information about the swing-dev
mailing list