GNOME Bugzilla – Bug 163946
There is no initially cell in 'Search results' table having SPI_STATE_SELECTED
Last modified: 2005-01-17 16:37:14 UTC
Please describe the problem: - From the main menu, go to "Find Files..." - Enter a '*' into the "Name contains" combobox and press <Return> - Press <tab> six times and focus is on the first entry of the search results table. There is no SPI_STATE_SELECTED cell in this table. AccessibleSelection_getNSelectedChildren returns 0. Without a SPI_STATE_SELECTED cell, gnopernicus can not report the current table line. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
I don't have a clue what needs to be fixed. Gnopernicus crashes in my GNOME CVS test environment.
The search results belong to a gtk-treee-view widget. I did a grep of my local copy of the latest gnome code to see how other programs use SPI_STATE_SELECTED. I found only two programs using it: gnopernicus and at-poke. Googling did not turn up much either. There just is not enough documentation for me to solve this one. Others are welcome to attach a patch. Thanks.
If you press <down> in this situation, the second item in the list gets SPI_STATE_FOCUSED. That makes no sense, because prior to <down>, there is no selected item. Looks like perhaps a gtktreeview bug, or a bug in the way gtktreeview is used in the search tool.
*** This bug has been marked as a duplicate of 159561 ***