JDK-4912570 : GTK L&F: Behaviour of new folder button in JFileChooser is unlike native mercury
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2_01,5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,linux_sun
  • CPU: generic,x86
  • Submitted: 2003-08-26
  • Updated: 2003-11-11
  • Resolved: 2003-11-03
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.
1.4.2_04 04Fixed
Related Reports
Duplicate :  
Relates :  
Behaviour of new folder button in JFileChooser is unlike native mercury.
By clicking on new folder button on native it opens the input dialog box unlike java implementation. 

Steps to Reproduce:
1) Run SwingSet2 on Mercury with -Dswing.gtkthemefile=<Your .gtkrc File>. Change the Look And Feel to GTK.
2) Go to FileChooser Demo. 
3) Click on button 'Show Plain JFileChooser' and now click on 'New Folder' button, It simply creates a folder on that path.
4) Now open Gedit.
5) Click Open and click 'New Folder' button, It will show input dialog box and on saying ok it create folder. It is different than java implementation of the same.

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_04 tiger-beta FIXED IN: 1.4.2_04 tiger-beta INTEGRATED IN: 1.4.2_04 tiger-b28 tiger-beta

EVALUATION Reproducible as described with 1.5.0b21. Also, the Folders list does not repaint when a new folder is created. ###@###.### 2003-09-30 Name: anR10225 Date: 10/15/2003 On "Create folder" button press an input dialog should appear where the new folder name should be input. If the input is accepted a new folder with the specified name should be created. If the specified folder couldn't be created an Error dialog should be displayed. ======================================================================