Bugzilla – Bug 479126
DataGrid, DataGridView. TextBox cells don't implement SelectionItem
Last modified: 2009-12-16 14:13:58 UTC
1. Run datagridview.py and run accerciser 2. Select "tree table" from Accerciser TreeView 3. Focus "Interface Viewer" and expand "Selection" 4. In the "Selection" list: click first checkbox, click Item0, click second checkbox. (You will need to minimize and maximize datagridview.py window because of a bug #479124 that doesn't invalidate cells when setting Selected programmatically) 5. Notice that only checkbox cells are selected. Expected results first checkbox, first textbox and second checkbox should be selected. Notes: In Vista, TextBox cells don't support SelectionItem, however seems that we will need to implement the interface anyway to actually support selecting them.
Hours updated. Mar 3
P1s and P2s automatically go into Release 1.0.
Fixed UIAutomationWinforms-trunk r129165
Hi Mario, sorry I need reopen this bug that there are two others problems if follow these steps, please take a look, thanks! DataGridView: (1) expand "selection" under interface viewer": click first CheckBox, click TextBox Item0, first ComboBox, click Button Item0, click Link Item0 (5 items to be selected in total) (2) then click other two items at random. the problem is when click the 7 item, "first CheckBox" will be unselected, when click the 9 item, "TextBox Item0" will be unselected DataGrid: (1) expand "selection" under interface viewer": click Edit0 to select the first row, then click Edit1 or Edit2 (2) click Edit1 and Edit2, then click Edit0 the problem is : in step(1) the selection is moved from Edit0 row to Edit1 or Edit2 row(just one row to be selected). but in step(2) Edit1 row and Edit2 row can be multi-selected, and Edit0 row can't be selected.