JDK-6598666 : REG: Not all items in the Filechooser's drop-down are keyboard traversible, WinXP
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u2
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-08-29
  • Updated: 2011-01-19
  • Resolved: 2007-10-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10Resolved
Related Reports
Duplicate :  
Description
Not all the items in the FileChooser's 'Look in' drop-down are accessible by keyboard. After reaching MyDocuments item, the focus shifts to the first item in the drop-down.

To reproduce the bug, do the following -
1. Run SwingSet2 using 6u2-b05
2. Choose Windows Look And Feel
3. Go to FileChooser Demo
4. Click on any of the buttons to open a FileChooser
5. Click on the 'Look in' combo box.
6. Try pressing the down arrow one by one.

You will notice the following issue -

2 'MyDocuments' items would be listed in the drop-down. When you traverse through keyboard and reach 'MyDocuments', the focus will shift to the other 'MyDocuments' item listed in the top. Hence you can not traverse through other items that follow the second 'MyDocuments'.

This is reproducible only since 6u2 (I tested with b05) and not reproducible with 6u1. On 6u1, I can see only one 'MyDocuments' item in the drop-down. Hence this is a regression introduced in 6u2.

This is reproducible with Windows XP as well as Classic Look And Feels. I can see 2 'My Documents' items listed in Metal LAF also but it does not affect the keyboard traversal.

I have attached a screenshot of the file-chooser.

Comments
EVALUATION This bug appears after fix of 6491795 was putbacked (note that there are no problems in CR 6491795 fix). My old fix of CR 6493523 solves this bug...
20-09-2007