|
Bugzilla – Full Text Bug Listing |
| Summary: | MonthCalendar: all widgets have implemented the same position and size as whole TreeTable | ||
|---|---|---|---|
| Product: | [Mono] UI Automation | Reporter: | calen chen <cachen> |
| Component: | Winforms - General | Assignee: | E-mail List <mono-a11y-bugs> |
| Status: | NEW --- | QA Contact: | E-mail List <mono-a11y-qa> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | ||
| Version: | Release 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
calen chen
2009-06-26 07:51:04 UTC
I think it's difficult for us to get the bound of a child control of a MonthCalendar without make big modification in SWF. Root Cause: The drawing of MonthCalendar is handled by the Theme class. Usually our MonthCalendar is drawn by SWF/ThemeWin32Classic.cs.DrawMonthCalendar(), though several internal members of the MonthCalendar control such as "mc.calendar_spacing", "mc.date_cell_size", "mc.SingleMonthSize" and "mc.CalendarDimensions" are used in the rendering, the final bound of each child control is still controlled by the specific theme engine logic. So IMO we cannot perfectly fix this bug unless expose a bunch of interfaces and enable the theme engine to tell uia the bound of each child control drawn by the engine. Maybe that's not so difficult, since we could just copy the bound calculation logics from SWF/MonthCalendar.HitTest. |