-
Bug
-
Resolution: Fixed
-
P3
-
5.0u9
-
b15
-
sparc
-
solaris_9
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2145169 | 6u4 | Pavel Porvatov | P2 | Resolved | Fixed | b01 |
JDK-2144374 | 5.0u12 | Mike Belopuhov | P3 | Resolved | Fixed | b02 |
The original description isn't clear enough to explain the problem. I've contacted the submitter, and we've agreed on the following description:
SETUP REQUIRED:
Go to your home directory and make sure it has the following files:
- "a"
- "b.gif"
- no other GIF files
On Windows XP this is your "My Documents" directory.
NOTE:
Reproducing this bug requires you to stay in the same directory.
Please follow the steps directly and don't change out of the default
directory.
STEPS TO REPRODUCE:
- Launch the JFileChooser demo
- Select "Show JPG and GIF filters"
- Select "Motif"
- Push "Show FileChooser" button
- Ensure that the "*" filter is chosen.
- Select "a" file from the "Files" list on the right
- Toggle filter menu and select "GIF image files (.gif)"
- Try to select "b.gif" file from the "Files" list on the right.
(It's already selected)
- Though the item in the list is selected, the filename doesn't
apper in "Enter file name:" text field below.
- As a result, double-clicking "b.gif" closes the dialog and does nothing.
Hitting OK instead, returns file "a".
Original Description
--------------------
When opening a file using JFileChooser with MotifLook&Feel "File does not exist" error is thrown. This happens when you switch Filter between .x and .y and try to open the highlighted file in the "Files box".
SETUP REQUIRED:
Go to your home directory and make sure it has the following files:
- "a"
- "b.gif"
- no other GIF files
On Windows XP this is your "My Documents" directory.
NOTE:
Reproducing this bug requires you to stay in the same directory.
Please follow the steps directly and don't change out of the default
directory.
STEPS TO REPRODUCE:
- Launch the JFileChooser demo
- Select "Show JPG and GIF filters"
- Select "Motif"
- Push "Show FileChooser" button
- Ensure that the "*" filter is chosen.
- Select "a" file from the "Files" list on the right
- Toggle filter menu and select "GIF image files (.gif)"
- Try to select "b.gif" file from the "Files" list on the right.
(It's already selected)
- Though the item in the list is selected, the filename doesn't
apper in "Enter file name:" text field below.
- As a result, double-clicking "b.gif" closes the dialog and does nothing.
Hitting OK instead, returns file "a".
Original Description
--------------------
When opening a file using JFileChooser with MotifLook&Feel "File does not exist" error is thrown. This happens when you switch Filter between .x and .y and try to open the highlighted file in the "Files box".
- backported by
-
JDK-2145169 JFileChooser does not work properly with File selection when filter is changed
- Resolved
-
JDK-2144374 JFileChooser does not work properly with File selection when filter is changed
- Resolved
- relates to
-
JDK-6573887 JFileChooser does not select file after filter is changed
- Closed