public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug AWT/16440] New: Exceptions thrown when button removes itself @ 2004-07-08 18:32 kho at redhat dot com 2004-07-08 18:33 ` [Bug AWT/16440] " kho at redhat dot com ` (6 more replies) 0 siblings, 7 replies; 9+ messages in thread From: kho at redhat dot com @ 2004-07-08 18:32 UTC (permalink / raw) To: gcc-bugs This was brought up a while back, was fixed but not anymore. A button that registers an ActionListener that removes the button from its parent will cause NPE's to be thrown when you click on it. Test case attached. -- Summary: Exceptions thrown when button removes itself Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: AWT AssignedTo: fitzsim at redhat dot com ReportedBy: kho at redhat dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com @ 2004-07-08 18:33 ` kho at redhat dot com 2004-07-27 0:24 ` fitzsim at redhat dot com ` (5 subsequent siblings) 6 siblings, 0 replies; 9+ messages in thread From: kho at redhat dot com @ 2004-07-08 18:33 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From kho at redhat dot com 2004-07-08 18:33 ------- Created an attachment (id=6713) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6713&action=view) Test case for bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com 2004-07-08 18:33 ` [Bug AWT/16440] " kho at redhat dot com @ 2004-07-27 0:24 ` fitzsim at redhat dot com 2004-07-30 15:34 ` fitzsim at redhat dot com ` (4 subsequent siblings) 6 siblings, 0 replies; 9+ messages in thread From: fitzsim at redhat dot com @ 2004-07-27 0:24 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-07-27 00:24:32 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com 2004-07-08 18:33 ` [Bug AWT/16440] " kho at redhat dot com 2004-07-27 0:24 ` fitzsim at redhat dot com @ 2004-07-30 15:34 ` fitzsim at redhat dot com 2004-07-30 16:56 ` kho at redhat dot com ` (3 subsequent siblings) 6 siblings, 0 replies; 9+ messages in thread From: fitzsim at redhat dot com @ 2004-07-30 15:34 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From fitzsim at redhat dot com 2004-07-30 15:34 ------- I'm thinking this is caused by the MOUSE_RELEASED event having nowhere to go. Kim, can this be fixed in the same way that you fixed JToolTip, by disabling mouse events on a component when it is removed? -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|fitzsim at redhat dot com |kho at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com ` (2 preceding siblings ...) 2004-07-30 15:34 ` fitzsim at redhat dot com @ 2004-07-30 16:56 ` kho at redhat dot com 2004-07-30 16:58 ` kho at redhat dot com ` (2 subsequent siblings) 6 siblings, 0 replies; 9+ messages in thread From: kho at redhat dot com @ 2004-07-30 16:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From kho at redhat dot com 2004-07-30 16:56 ------- I just tested it. The MOUSE_RELEASED event does go to the button that was removed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com ` (3 preceding siblings ...) 2004-07-30 16:56 ` kho at redhat dot com @ 2004-07-30 16:58 ` kho at redhat dot com 2004-08-03 19:02 ` kho at redhat dot com 2004-12-01 0:37 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 9+ messages in thread From: kho at redhat dot com @ 2004-07-30 16:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From kho at redhat dot com 2004-07-30 16:58 ------- Oops nevermind. I messed up my test case. Tom is correct. The mouse event just doesn't get dispatched if the component is no longer in the heirarchy. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com ` (4 preceding siblings ...) 2004-07-30 16:58 ` kho at redhat dot com @ 2004-08-03 19:02 ` kho at redhat dot com 2004-12-01 0:37 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 9+ messages in thread From: kho at redhat dot com @ 2004-08-03 19:02 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From kho at redhat dot com 2004-08-03 19:02 ------- fixed in java-gui-branch -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug AWT/16440] Exceptions thrown when button removes itself 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com ` (5 preceding siblings ...) 2004-08-03 19:02 ` kho at redhat dot com @ 2004-12-01 0:37 ` pinskia at gcc dot gnu dot org 6 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-12-01 0:37 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-01 00:36 ------- All of these are all fixed in 4.0.0 by the merge of the gui branch. -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <bug-16440-8712@http.gcc.gnu.org/bugzilla/>]
* [Bug awt/16440] Exceptions thrown when button removes itself [not found] <bug-16440-8712@http.gcc.gnu.org/bugzilla/> @ 2005-10-16 1:53 ` pinskia at gcc dot gnu dot org 0 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-10-16 1:53 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.0 |pre-0.18 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16440 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-10-16 1:53 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-07-08 18:32 [Bug AWT/16440] New: Exceptions thrown when button removes itself kho at redhat dot com 2004-07-08 18:33 ` [Bug AWT/16440] " kho at redhat dot com 2004-07-27 0:24 ` fitzsim at redhat dot com 2004-07-30 15:34 ` fitzsim at redhat dot com 2004-07-30 16:56 ` kho at redhat dot com 2004-07-30 16:58 ` kho at redhat dot com 2004-08-03 19:02 ` kho at redhat dot com 2004-12-01 0:37 ` pinskia at gcc dot gnu dot org [not found] <bug-16440-8712@http.gcc.gnu.org/bugzilla/> 2005-10-16 1:53 ` [Bug awt/16440] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).