Bugzilla – Bug 428532
ToolStripMenuItem: Begin implementation
Last modified: 2008-10-28 22:58:30 UTC
Implement AtkAccessible and AtkComponent for MenuItem (deprecated; new: ToolStripMenuItem) and develop initial unit test. Specification ============== Acts As: Menu Item Similar To: GtkMenuItem Provides: AtkAccessible, AtkComponent, AtkAction, AtkText, AtkSelection Default State: Enabled, Selectable, Sensitive, Showing, Visible
The implementation of a case of deprecation may be pretty fast due to the use of the same provider.
New default assignee and QA (although we'll create a new dummy mailing list specifically for QA soon).
Moving all of these to P4 to show that they have been triaged. Will be reprioritizing these properly tomorrow.
I should have assigned this to myself earlier.
Firs implementation + children testing committed on r116810. However, not closing yet because of an NRE in the tests (generated in the provider).
The NRE was fixed this morning by mario (r116854). Thanks! After that, I had another failing test and started to debug it, to find out that ProviderFactory.GetProvider had a bug. Sandy fixed it (r116865). What I think is missing now about this is proper Navigation in the MenuItem provider, since this code is returning always false (has no children): http://monoport.com/37880 Or maybe the provider didn't hook on this bridge-test call: parentMenu.DropDownItems.AddRange (subMenus); (Adding menuitems to a menuitem.)
Sandy told me today it should be fixed, although no tests finished yet.
I hate to put a lot of hours in a bug that had such a low estimation rate, but I'm getting a lot of trouble dealing with small defects in the provider side. So, as a progress summary of this: - Mario fixed the children discovery on r117211. - I fixed the class hierarchy in preparation of addition/removal of children at runtime (r117270,r117271,r117272). Now I'm debugging an issue with the StateType.Enabled not being added to the states of the menu.
(In reply to comment #8 from Andrés G. Aragoneses) > Now I'm debugging an issue with the StateType.Enabled not being added to the > states of the menu. Stupid problem. Fixed all in r117288.