← Back to team overview

openjdk team mailing list archive

[Bug 257283] [NEW] Refresh problems with scrollable components (JTable, etc.)

 

Public bug reported:

There are refresh problems with swing components used inside scroll
panes there leads to garbage being left on the screen when dragging the
scroll bar.

It happens the same with Sun packages, so I'm not sure this is a Java
bug.

It is reproductable in Hardy, both in Gnome and KDE without Compiz, by
running this piece of code (just drag the scrollbar instead of
clicking):

public class TestFileChooser {
 public static void main(String[] args)
 {
  JFileChooser fc = new JFileChooser( "/usr/share" );
  fc.setDialogTitle( "Test" );
  fc.showOpenDialog( null );
 }
}

It also happens in tables and comboboxes.

This bug is also reported in sun-java6 package
(https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/240818) and
it's a true SHOW STOPPER :(

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Refresh problems with scrollable components (JTable,etc.)
https://bugs.launchpad.net/bugs/257283
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: New

Bug description:
There are refresh problems with swing components used inside scroll panes there leads to garbage being left on the screen when dragging the scroll bar.

It happens the same with Sun packages, so I'm not sure this is a Java bug.

It is reproductable in Hardy, both in Gnome and KDE without Compiz, by running this piece of code (just drag the scrollbar instead of clicking):

public class TestFileChooser {
 public static void main(String[] args)
 {
  JFileChooser fc = new JFileChooser( "/usr/share" );
  fc.setDialogTitle( "Test" );
  fc.showOpenDialog( null );
 }
}

It also happens in tables and comboboxes.

This bug is also reported in sun-java6 package (https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/240818) and it's a true SHOW STOPPER :(



Follow ups

References