JDK-4938868 : GTK L&F: Behaviour of rename button in JFileChooser is unlike native mercury
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.2_03,5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_9,windows_nt
  • CPU: x86,sparc
  • Submitted: 2003-10-16
  • Updated: 2003-11-27
  • Resolved: 2003-11-17
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.
Other
1.4.2_04 04Fixed
Related Reports
Duplicate :  
Relates :  
Description

Name: anR10225			Date: 10/16/2003


Behaviour of rename button in JFileChooser is unlike native mercury.
By clicking on rename 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 'Rename'
button, nothing happens.
4) Now open Gedit.
5) Click Open and click 'rename' button, It will show input dialog box and on saying ok it
renames the file displayed in the file name text field. It is different than java
implementation of the same.

======================================================================

Comments
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-beta
2004-06-14

EVALUATION Name: anR10225 Date: 10/28/2003 The input dialog should be displayed for entering new file name. Initially the input value should contain the file name which is currently in the file text field of the file chooser. The input field should have a focus and its value should be selected. If the file text field of the file chooser is empty then pressing of 'Rename' button should be ignored. When the new file name is entered in the dialog and input is approved ('OK' button is pressed) the file (or directory) in the file text field is renamed to the file specified by the user. If an error occurs while renaming the error dialog should be displayed. ======================================================================
2004-06-11