JDK-6579038 : Can not use space bar in the bugster application
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0u13
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-07-11
  • Updated: 2011-02-16
  • Resolved: 2007-07-13
Related Reports
Duplicate :  
Description
Problem Description
-------------------
Can not use the space bar in Bugster application. Users can enter any input from the keyboard but can't use the space bar. The problem occurs in 1.5.0_13-b01, but didn' occur in 1.5.0_12 GA

Tested Environment:
------------------
Build:           jre 1.5.0_13-b01
OS:              XP-pro(sp2)
Application:     Bugster

How to reproduce:
----------------
- Install jre 1.5.0_13-b01 onto the test system.
- Bring up the bugster application 
- Open a New Change Request
- Try to type something in the "Synopsis" or "Justification" fields

You can type any text there, but you can't use space bar. 
It is a regression in 1.5.0_13-b01
The issue can also be reproducible  using Suntea application.  Due to this bug, one can't use bugster and suntea applications
It is reproducible with Java Runtime parameter setting in Java Control Panel

Comments
EVALUATION Closing the bug as a duplicate of 6577717
13-07-2007

EVALUATION This bug is pretty similar to 6577717 and fix for 6577717 resolves this issue.
13-07-2007

EVALUATION The fix for 6562716 has caused this regression. Backing out the fix gets it working.
12-07-2007

EVALUATION This seems to be a nasty bug as I can reproduce the problem with a simple testcase (Test.java) attached. Using spyxx, I see that no WM_KEYDOWN or WM_KEYUP messages are posted to the window on pressing any key (not just space) but interestingly other characters get typed somehow and space doesn't. The messages get posted appropriately with 1.5.0_12 b04. The problem is not specific to awt or swing component here as it happens with both TextField and JTextField. I need to do further investigation to figure out the root cause of the problem.
12-07-2007