This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134626 - open dialog window's sort does not work
Summary: open dialog window's sort does not work
Status: CLOSED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Open File (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2008-05-06 17:12 UTC by jamesvera
Modified: 2011-06-09 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamesvera 2008-05-06 17:12:37 UTC
Go to an open dialog (File->Open File... or Profile->Load Snapshot...).  Select the Details view.  Click on a column
label to sort.  Nothing happens.
Comment 1 Petr Chytil 2008-05-07 10:29:59 UTC
reassigning to utilities/openfile
Comment 2 Marian Petras 2008-05-07 16:46:36 UTC
It works for me (Win XP Professional 64bit, JDK 1.6.0_10).

Which version of JDK are you using? It would be ideal if you could add information about your system to this bug report:

1) In NetBeans, in the main menu, select: View > IDE Log File.
   (The log file's contents is written to the IDE's Output pane.)
2) In the Output pane, scroll to the top.
3) Select the six lines below line ">System Info" to the clipboard and paste them here.

Thank you.
Comment 3 jamesvera 2008-05-07 16:49:14 UTC
  Product Version         = NetBeans IDE 6.1 (Build 200804211638)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.5.0_15; Java HotSpot(TM) Client VM 1.5.0_15-b04; Sun Microsystems Inc.
  Runtime                 = Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_15-b04
  Java Home               = C:\Program Files\Java\jdk1.5.0_15\jre
  System Locale; Encoding = en_US (nb); Cp1252
Comment 4 Marian Petras 2008-05-07 16:59:53 UTC
This might be related to JDK bug #6515169 (http://bugs.sun.com/view_bug.do?bug_id=6515169).
Comment 5 Marian Petras 2008-05-07 17:14:58 UTC
The description of the issue exactly matches JDK bug #6384033 (http://bugs.sun.com/view_bug.do?bug_id=6384033), which is
marked as a duplicate of previously mentioned bug #6515169. Jamesvera, could you please update your JDK to a newer
release and then try to reproduce the bug with it? The most recent stable release of JDK is JDK 6 Update 6, you can
download it e.g. from http://java.sun.com/javase/downloads/index.jsp .
Comment 6 Marian Petras 2008-05-07 17:21:57 UTC
Thanks for the additional information, you responded quicker than I expected.

Now I tried to reproduce the problem with JDK 1.5.0_13 and I think it is actually another bug. Still I think that it is
rather a JDK bug than a NetBeans bug. I am going to search the database of JDK bugs.
Comment 7 Marian Petras 2008-05-07 17:59:22 UTC
It is a JDK bug 6358882 (http://bugs.sun.com/view_bug.do?bug_id=6358882).

To verify it is a JDK bug, run the JDK's file chooser demo application:

1) in Windows, open the "Command Prompt" window.
2) enter and run the following command:
   "C:\Program Files\Java\jdk1.5.0_15\jre\bin\java" -jar "C:\Program
Files\Java\jdk1.5.0_15\demo\jfc\FileChooserDemo\FileChooserDemo.jar"
   (demo application "FileChooserDemo" is started)
3) At the bottom of the demo application's window, select radio-button "Windows".
4) Press button "Show FileChooser".
5) It the file chooser, switch to the Details view (the button at the top-right).
6) Try to change sorting by clicking or double-clicking on any of the column headers.

In JDK 1.5.x, sorting does not change.

It is fixed in JDK 6 but it has other bugs mentioned above.

I do not know of any work-around at the moment (there is none mentioned in the JDK bug report) and I do not think this
bug is important for making some hacks in NetBeans. Marked as WONTFIX.
Comment 8 jamesvera 2008-05-07 18:08:58 UTC
I can confirm the bug is reproduced with the FileChooserDemo in my env.  Thanks for looking into it.
Comment 9 Marian Mirilovic 2011-06-09 09:54:09 UTC
v/c