JDK-4794369 : GTK L&F: JFileChooser lists don't repaint when choosing empty folder.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.4.1
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-12-16
  • Updated: 2004-03-16
  • Resolved: 2004-03-16
Related Reports
Duplicate :  
Description
In the new GTK look and feel, there is a bug in JFileChooser such that it doesn't repaint the file or directory lists when the user selects an empty folder.

To reproduce:
Create an empty folder on your file system.
Run SwingSet2, select the GTK L&F, and bring up a JFileChooser in the JFileChooser portion of the demo. On the left hand side, browse your file system until you can see the empty folder. Double click on the empty folder.

Expected:
JFileChooser should repaint both the directory and file lists.

Actual:
No repaint occurs. The contents of the lists appear not to change. (note that dragging some other window over the lists causes them to repaint with the right content).

This happens on both Windows and Solaris.

Comments
EVALUATION This should be fixed as soon as possible. ###@###.### 2003-01-17
17-01-2003