GNOME Bugzilla – Bug 172087
FOCUSED state is contained by the new active child in case of 'active-descendant-changed' event from an unfocused table
Last modified: 2005-04-25 11:19:15 UTC
In this case, any cell from the table which fired the 'active-descendant-changed' event, shouldn't have the FOCUSED state. This bug depends on bug #171232.
I don't understand this bug report. Can you explain further? I think that firing active-descendant-changed is perfectly legal for unfocussed tables.
In bug #171232 is described a case where the change of current selected child in a table will change also the current selected child in other table. Both table fire "active-descendant-changed" event. Both new active children have FOCUSED state. Only first should.
Created attachment 39428 [details] [review] proposed patch
Comment on attachment 39428 [details] [review] proposed patch Thanks Remus, this looks correct.
on reflection, I think that a better solution would be to add ATK_STATE_ACTIVE to these cells, instead of ATK_STATE_FOCUSSED; that would prevent the case of having multiple objects with 'FOCUSSED' state. The patch would be very similar to the one Remus has already proposed, substituting ATK_STATE_ACTIVE.
Is a revised patch appropriate? If so please provide one.
Created attachment 39799 [details] [review] revised patch This patch is the same patch but it contains the ATK_STATE_ACTIVE instead of ATK_STATE_FOCUSED
please commit the patch and close the bug.
Created attachment 45215 [details] [review] reworked patch
Patch committed to CVS head.