<Swing Dev> JDK-6219960 null reference in ToolTipManager

Jason Mehrens jason_mehrens at hotmail.com
Thu Apr 17 22:12:09 UTC 2014


Anthony,
 
Using the testcase from the bug report I can reproduce the error on Java 8. 
 
This bug in the ToolTipManager is really about how the mouse events are not fired when something happens to the z-order.  When the modal dialog is shown the mouseExited is not fired even though that modal dialog is now the only thing I can interact with.  The patch for the symptom was to hide the tooltip when initiateToolTip was called and this condition was detected.  I would think that would be pretty easy to get approved.  However, fixing the root cause requires a bunch of thought and debate on what determines the mouse being contained in a component (X-axis and Y-axis only or X,Y,Z-axis).
 
Thanks,
 
Jason
 
 
> Date: Fri, 18 Apr 2014 01:22:39 +0400
> From: anthony.petrov at oracle.com
> To: jason_mehrens at hotmail.com; swing-dev at openjdk.java.net
> Subject: Re: <Swing Dev> JDK-6219960 null reference in ToolTipManager
> 
> Hi Jason,
> 
> Is this bug still reproducible with Java 8?
> 
> Also, if you want to contribute a patch, please read 
> http://openjdk.java.net/contribute/
> 
> --
> best regards,
> Anthony
> 
> On 4/18/2014 1:14 AM, Jason Mehrens wrote:
> > Hello swing-dev,
> >
> > I'm the submitter of the testcase for bug id 6219960 and I had also
> > submitted a patch for this issue.  However, I noticed that this is
> > closed as won't fix.  Is this in error?  If so I can resubmit the patch.
> >
> > Thanks,
> >
> > Jason 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20140417/00b82eff/attachment.html>


More information about the swing-dev mailing list