JDK-5064016 : NumPad Del key works incorrectly with Shift
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2004-06-16
  • Updated: 2006-02-21
Related Reports
Relates :  
Relates :  
Relates :  
Description
Name: ynR10250			Date: 06/16/2004

In a TextField on Unix/Linux platform, NumPad Del key, if pressed with Shift modifier,
has no effect with MToolkit and does wrong with XAWT (different wrong things with or without bugfix to 5033605).
======================================================================

Comments
EVALUATION GTK Keybindings were removed accidentally, i'll restore them. There will be a separate bug for it: 6349071. The double action problem (clipboard action and char insertion happening at the same time) is trickier. Hitting a key generates 3 different KeyEvents so up to 3 actions may be fired on a single key stroke. In our case clipboard action is triggered by KEY_PRESSED event while chars are inserted with KEY_TYPED.
08-11-2005

EVALUATION The keybindings were added as part of 6317909. However some problems remain on Linux. In Metal & Motif LAFs Shift+Insert inserts contents of clipboard and then 0. In GTK LAF keybindings do not work at all. There seem to be more than one problem other than the lack of keybindings.
26-10-2005

SUGGESTED FIX Add Shift+Del, Shift+Inxert, Ctrl+Insert keybindings to Metal and GTK L&Fs. Webrev link: http://sa.sfbay.sun.com/projects/swing_data/mustang/5064016 ###@###.### 2005-07-06 10:46:22 GMT
06-07-2005

EVALUATION Name: ynR10250 Date: 06/17/2004 With Motif and XAWT, Shift+NumPadDel has no echo whatsoever in a TextField (should be KP_Separator typed). With Motif, Shift+NumLock+MumPadDel has no effect while with XAWT there's some separator typed, KP_Decimal or KP_Separator depending on a fix to 5033605 applied or not (should be some sort of Delete action). ###@###.### ====================================================================== Shift+Del performs the Cut action on Windows, Motif, and GTK. Currently Windows and Motif L&Fs define the keybindings for Shift+Del, but GTK and Metal do not. To fix things on the Swing side, i suggest adding the keybindings to GTK (to match native behavior), and also to Metal (to support the Greatest Common Denominator model). This will probably leave something to be done on AWT side though. ###@###.### 2005-07-06 10:46:22 GMT
06-07-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
17-09-2004