JDK-4942049 : "New Folder" function in GTK L&F cannot create folders w/ user specified names
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-10-22
  • Updated: 2003-10-28
  • Resolved: 2003-10-23
Related Reports
Duplicate :  
Description
When doing the SWAT testing on SwingSet2 demo, I found the "New Folder" function under GTK L&F for FileChooserDemo cannot create new folders with user specified names.  No such problem in Java L&F.  This bug is generic to all unix OSes.

STEP TO REPRODUCE:
------------------
1. Install JDK1.5.0 b25
2. Launch SwingSet2 demo
3. Shift + F10 and choose "GTK Look and Feel"
4. Go to "Show Plain JFileChooser" -> click on "New Folder" -> neter "Swing_test" as a new folder name -> click OK button
5. Go back to the directory to verify the new folder just created.  It shows "NewFolder.1", not the "Swing_test" folder name as user wants to create.

The same issue happens in "Show Preview JFileChooser" demo and "Show Custom JFileChooser" demo.

###@###.### 2003-10-22

Comments
EVALUATION Name: omR10226 Date: 10/23/2003 This bug is duplicate of 4912570. ======================================================================
11-06-2004