https://bugzilla.novell.com/show_bug.cgi?id=386644
Summary: ToolStrip: NRE on Alt keypress when no items
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
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=212247)
--> (https://bugzilla.novell.com/attachment.cgi?id=212247)
Repro
Not a useful app... But when no menu items, pressing Alt causes an NRE. Seen
in my all-controls property-grid app (on bug XXXXXX).
Repro attached. With focus on its window, press and release the Alt key, or do
Alt+A etc.
Exception
[[
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at System.Windows.Forms.ToolStrip.ChangeSelection
(System.Windows.Forms.ToolStripItem nextItem) [0x00000]
at System.Windows.Forms.ToolStrip.SelectNextToolStripItem
(System.Windows.Forms.ToolStripItem start, Boolean forward) [0x00000]
at System.Windows.Forms.MenuStrip.OnMenuKey () [0x00000]
at System.Windows.Forms.ToolStripManager.ProcessMenuKey
(System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control.WmSysKeyUp (System.Windows.Forms.Message& m)
[0x00000]
…
…
]]
--
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