GNOME Bugzilla – Bug 569042
gailbooleancell does not seem to attend to changes to STATE_SENSITIVE
Last modified: 2010-03-05 06:52:01 UTC
Gtk+ CellRendererToggles can be set to sensitive or insensitive. Examining these objects with Accerciser or Orca seems to indicate that STATE_SENSITIVE is exposed, and not removed when the CellRendererToggle's sensitivity is set to False. I'm afraid my test case at the moment is a modified version of the OpenSolaris packagemanager. :-) I'll look around for (or create) a more readily available test case.
Created attachment 127186 [details] [review] Proof of concept solution This patch solves the problem for me for the test case in question. I marked it as needs-work because: 1) I'm not familiar with gail 2) I'm not familiar with C :-) That said, this change conceptually seems appropriate and will make the state of CellRendererToggles accessible to users who are blind. Thanks in advance for looking at this!
When I go through my bugs list I found I miss to review this patch. Sorry for delaying such a long time! I think maybe you are looking for "activatable" property for gtkcellrenderertoggle. Because cell->renderer is a gtkcellrenderertoggle.
Created attachment 151740 [details] [review] new patch Does this patch fix this bug?
(In reply to comment #3) > Created an attachment (id=151740) [details] [review] > new patch > > Does this patch fix this bug? I'm afraid it does not. The test case is packagemanager. Both the Manage Boot Environments and the Manage Publishers dialogs have a checkbox which cannot be toggled. With your patch, these checkboxes/table cells still have state sensitive; with my patch they do not. Orca announces that an object is "grayed" (i.e. unavailable to be interacted with) when it lacks STATE_SENSITIVE.
Li, I know you're busy, but since you were looking at Gtk+/Gail bugs which impact packagemanager.... Any thoughts on why what you're proposing here fails to solve the problem, but why patch does? Thanks!
Sorry for late responding. I searched gtkcellrenderertoggle.c and find activatable property. Seems it doesn't work, and I just find gtkcellrenderer.c has sensitive property. Will try again today.
Confirm the fix and committed to trunk. commit 4759da26348fd1063e2da2e8f85d7a7fa7b41acd Author: Joanmarie Diggs <joanmarie.diggs@gmail.com> Date: Fri Mar 5 14:48:23 2010 +0800 Add/Remove ATK_STATE_SENSITIVE according to cells' state. Bug #569042.
Review of attachment 127186 [details] [review]: committed