[Mono-bugs] [Bug 428115] New: Tool tip displayed in wrong form

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Sep 20 09:32:06 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=428115


           Summary: Tool tip displayed in wrong form
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: awunwpa7 at yahoo.com.ph
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer


Created an attachment (id=240702)
 --> (https://bugzilla.novell.com/attachment.cgi?id=240702)
small test case c# project

Description of Problem:

I don't know if my test case is the best way to reproduce the error, but that's
how I found it: When you set up a Timer that once every second calls
SetToolTip() on the ToolTip class, you can see that the tool tip appears even
if the corresponding control is not visible, i.e. if another form is hiding it.

Steps to reproduce the problem:

1. Run the test case code on MONO 2.0
2. Click on the button once
3. Now move the second form (the one without the button) above the first form
(with the button), so that the button is hidden
4. Move the mouse pointer to the (assumed) location of the (hidden) button.
5. The tool tip appears now in the second form

Actual Results:

The tool tip appears.

Expected Results:

The tool tip should not appear, since the parent form of the control that has
the tool tip is not active and the control is not even visible.

How often does this happen? 

Always.

Additional Information:

See the test case provided.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list