Bugzilla – Bug 520122
MonthCalendar: it would be better to stable some widgets out of tree table
Last modified: 2009-07-08 09:39:00 UTC
PROBLEM STATEMENT: copy from Matt email: "D) I though current impl of the MonthCalendarProvider has a problem which makes it difficult to click the Prev/Next Month buttons in a MonthCalendar with AT tools. E.g. in Accerciser, after click the Prev Month Button, you will lose the control, and you need to find the control again in the left control tree in Accerciser, and then make another click. So if a user want to click the Prev Month Button for 5 times to make the time go back to 5 months before, he will feel find it's not a easy task. The reason is in MonthCalendarDataGridProvider.cs, the children providers is reconstructed (i.e. terminated/recreated) everytime when the selected date is changed. However as I thought at least the providers for the Prev/Next month buttons dosen't need to be so (And also the providers to be added to fix #516717 and #516719), and even dosen't need to be the child providers of the MonthCalendarDatagrid (how about make them be the direct children of MonthCalendarProvider). So shall we make these child providers static so that we can improve the MonthCalendar user experience, and also the performance. " REPRO: 1. run uia2atk/test/samples/monthcalendar.py 2. run accerciser, expand 'tree table' under 'filler' on left tree 3. on GUI, click Prev/Next month button, or change the year 4. see what happen on accerciser left treeview RESULTS: the accessibles of tree_table are rebuilded when the month or year is changed each time. EXPECTED RESULTS: Prev/Next Month button, title_month label, title_year spin, 'Today:..." button would be better to stable out of tree_table, then user can easyly click them repeatly