United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4938868 : GTK L&F: Behaviour of rename button in JFileChooser is unlike native mercury

Details
Type:
Bug
Submit Date:
2003-10-16
Status:
Resolved
Updated Date:
2003-11-27
Project Name:
JDK
Resolved Date:
2003-11-17
Component:
client-libs
OS:
solaris_9,windows_nt
Sub-Component:
javax.swing
CPU:
x86,sparc
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.2_03,5.0
Fixed Versions:
1.4.2_04 (04)

Related Reports
Backport:
Duplicate:
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together