After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 129608 - GOK UI Grab not listing all options on Theme Preferences application
GOK UI Grab not listing all options on Theme Preferences application
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
unspecified
Other Linux
: Normal normal
: ---
Assigned To: padraig.obriain
padraig.obriain
AP3
Depends on: 136444
Blocks:
 
 
Reported: 2003-12-18 13:18 UTC by Frances Keenan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed gail patch (598 bytes, patch)
2004-05-31 15:24 UTC, padraig.obriain
none Details | Review

Description Frances Keenan 2003-12-18 13:18:17 UTC
Using GOK from CVS HEAD 16 Dec 2003

-Using GOK, start up the Theme Preferences
 (Applications -> Desktop Preferences -> Theme)
-Select the Large Print theme
-Notice an 'Apply Font' button becomes active with this theme option
-On GOK, select 'UI Grab'
-The 'Apply Font' button is not listed
 GOK doesn't recognise this button and it isn't given to the user as an option.
Comment 1 padraig.obriain 2004-02-20 10:46:58 UTC
It looks like not notiifcation is emitted when the Apply Font button
is appears. I will investigate further.
Comment 2 padraig.obriain 2004-02-20 11:17:56 UTC
When the Apply Font button appears the page-tab containing the button
is selected and the previous page-tab one is deselected.

I suspect that gok does not update its UI when this happens.
Comment 3 bill.haneman 2004-03-09 14:14:07 UTC
that's not the problem AFAICT; even if you go back to the GOK main kbd
and UI Grab the new dialog, this button is invisible.  It seems that
GOK is not traversing into the page tab list for some reason.  GOK
does have facility for listening to certain kinds of page-tab events.
Comment 4 bill.haneman 2004-05-19 19:28:15 UTC
I don't think this belongs on the UI Grab tracker, since it's about support for
more kinds of objects.  That's not the root issue with this bug, the root issue
has to do with reacting to different kinds of notifications differently.
Comment 5 David Bolter 2004-05-28 19:57:15 UTC
Bill,

I've had another look at your major gok-spy refactor work.  (I notice there is
almost no recursion anymore)  I'm trying to get a clearer picture of the
gok_spy_search_component_list function.  In particular there is a page-tab
special case in the toolbar section...  Can you tell me if I'm getting warm, or
heading in the wrong direction here?  This is an odd, but disturbing bug.
Comment 6 bill.haneman 2004-05-31 09:36:51 UTC
I am not sure this is closely related to the page-tab special-case (though it's
worth a glance).  Note that the PAGE_TAB case just ensures that children of the
(actionable) page-tab are searched for interesting UI components, by recursing.

I am not sure what you mean about "almost no recursion" since I think recursion
is more common than not, when gok_spy_search_component_list executes.
Comment 7 David Bolter 2004-05-31 12:45:19 UTC
Sorry, a parsing error (human).
Comment 8 David Bolter 2004-05-31 13:11:57 UTC
Bill,

I'm just wondering about your earlier comment: "It seems that GOK is not
traversing into the page tab list for some reason"

GOK seemes to be listing everything on the page except for that one button to
apply the font... for me at least.
Comment 9 bill.haneman 2004-05-31 13:17:29 UTC
right, that comment is probably inaccurate.  What does at-poke show, for the
states/role of the button that's not showing up?

Can we confirm that GOK doesn't see the "extra" button even if we move focus
away from the dialog (to another accessible window) and back?
Comment 10 David Bolter 2004-05-31 13:50:14 UTC
I can confirm that is the case.

OK, I took a another look at the GUI tree using at-poke, and I now think your
comment is very relevant.  There is a page tab list that contains that button,
and GOK is not showing anything in that page tab list (there is only one
relevant component: the apply font button)...

heading to IRC...
Comment 11 David Bolter 2004-05-31 14:09:03 UTC
This look like a possible gail issue.  Bill and Padraig will take a closer look.
Comment 12 padraig.obriain 2004-05-31 15:24:50 UTC
Created attachment 28205 [details] [review]
Proposed gail patch

Does the proposed gail patch fix the gok problem?
Comment 13 bill.haneman 2004-06-01 13:12:25 UTC
Padraig: patch fixes the problem.  Transferring to gail.
Comment 14 padraig.obriain 2004-06-01 13:19:14 UTC
Patch committed to CVS HEAD.