bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/23557] JComboBox under Graphics2D crashes VM and GTK


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/23557] JComboBox under Graphics2D crashes VM and GTK
Date: 29 Sep 2005 11:33:31 -0000

------- Additional Comments From hendrich at informatik dot uni-hamburg dot de  
2005-09-29 11:33 -------
Subject: Re:  JComboBox under Graphics2D crashes VM and GTK


> 2005-09-29 11:02 -------
> This is a new problem rather than a recurrence of the original.  It is fixed 
> in CVS now, please retest.
 
OK, I did a 'cvs update' right now and rebuilt my clean cvs checkout
from 08:30 today.

Admittedly, the PR23557 testcase starts instead of crashing the VM,
but I wouldn't call it fixed... (SuSE Linux x86, jamvm 1.3.2, ctwm 
WindowManager):

With Graphics2D enabled, the main window appears, but I get the
Graphics2D.copyArea UnsupportedOperationException as soon as I try
to open the JComboBox drop-down list:

/opt/jamvm/bin/jamvm -mx200m -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D PR23557
Exception during event dispatch:
java.lang.UnsupportedOperationException
   at gnu.java.awt.peer.gtk.GdkGraphics2D.copyArea (GdkGraphics2D.java:1397)
   at javax.swing.JViewport.paintBackingStore (JViewport.java:817)
   at javax.swing.JViewport.paintBlit (JViewport.java:870)
   at javax.swing.JViewport.paint (JViewport.java:499)
   at javax.swing.JComponent.paintChildren (JComponent.java:1539)
   at javax.swing.JComponent.paint (JComponent.java:1476)
   at javax.swing.JComponent.paintChildren (JComponent.java:1539)
   ...
   
   
Without Graphics2D, I can open the drop-down list, but the drop-down-
list-window is way to big, and gets BIGGER each time I open it anew. 
This is pretty funny to watch, but not really useable. Also, clicking
somewhere outside the actual text-labels in the big drop-down window
crashes:

Exception during event dispatch:
java.lang.IndexOutOfBoundsException
   at java.util.BitSet.set (BitSet.java:632)
   at javax.swing.DefaultListSelectionModel.setSelectionInterval 
(DefaultListSelectionModel.java:527)
   at javax.swing.JList.setSelectedIndex (JList.java:1264)
   at javax.swing.plaf.basic.BasicComboPopup$ListMouseMotionHandler.mouseMoved 
(BasicComboPopup.java:923)
   at java.awt.AWTEventMulticaster.mouseMoved (AWTEventMulticaster.java:393)
   at java.awt.Component.processMouseMotionEvent (Component.java:3141)
   at javax.swing.JComponent.processMouseMotionEvent (JComponent.java:28
   
   
   



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23557




reply via email to

[Prev in Thread] Current Thread [Next in Thread]