|
From: | hendrich at informatik dot uni-hamburg dot de |
Subject: | [Bug swing/23558] JComboBox problems on ctwm |
Date: | 9 Sep 2005 07:35:53 -0000 |
------- Additional Comments From hendrich at informatik dot uni-hamburg dot de 2005-09-09 07:35 ------- Subject: Re: JComboBox problems on ctwm > Found it. This was caused by a double-hide of the popup window. > BasicComboBoxUI's focus listener was hiding the popup window when > it lost focus. Great. I applied your GtkWindowPeer.c patch and updated BasicComboBoxUI.java from CVS. I confirm that my testcase now works (jamvm 1.3.2 + Classpath CVS) under ctwm on my system. Note: your original GtkWindowPeer.c patch didn't compile for me: + if (!GDK_WINDOW_OBJECT(window)->destroyed) + { gnu_java_awt_peer_gtk_GtkWindowPeer.c: In function 'window_get_new_state': gnu_java_awt_peer_gtk_GtkWindowPeer.c:1721: error: 'window' undeclared (first use in this function) gnu_java_awt_peer_gtk_GtkWindowPeer.c:1721: error: (Each undeclared identifieris reported only once gnu_java_awt_peer_gtk_GtkWindowPeer.c:1721: error: for each function it appears in.) so I used + if (!GDK_WINDOW_OBJECT(widget->window)->destroyed) + { instead. OK? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23558
[Prev in Thread] | Current Thread | [Next in Thread] |