https://bugzilla.novell.com/show_bug.cgi?id=338511#c325969

           Summary: Menu: ContextMenu crashes with NRE if no parent form
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


Created an attachment (id=181720)
 --> (https://bugzilla.novell.com/attachment.cgi?id=181720)
Test Program

Created from bug #325969.

When a TextBox is hosted in a ToolStripDropDown, and the user right clicks it,
it attempts to show the default TextBox context menu.  However, the Menu code
relies on having a Form to set the ActiveTracker.  The TextBox does not have a
parent Form, so a NRE is thrown.

Repro:
- Run program
- Click dropdown arrow
- Right click text box


-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to