ATK_STATE_FOCUSABLE for nonsensitive widgets

View: New views
2 Messages — Rating Filter:   Alert me  

ATK_STATE_FOCUSABLE for nonsensitive widgets

by Mike Gorse :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Our QA team noticed that, for a non-sensitive button, gail includes
ATK_STATE_FOCUSABLE, where UiaAtkBridge currently does not.  Gail simply
calls GTK_WIDGET_CAN_FOCUS, which checks a flag that is set true for a
button when it is being constructed.  Does anyone have an opinion as to
whether or not this behavior is correct?  I'm considering filing a bug but
don't really know whether it should even be considered a bug.

Thanks,
-Mike G-
_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel@...
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

Re: ATK_STATE_FOCUSABLE for nonsensitive widgets

by Willie Walker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ha...well...this is an area of delight and confusion, I think.  There's
FOCUSABLE, ENABLED, and SENSITIVE.

If I understand them correctly:

1) SENSITIVE means whether it's grayed or not

2) ENABLED means that if you can interact with it, it will actually do
something (versus just being a button you can tab to and press, but it
does nothing)

3) FOCUSABLE means it can accept keyboard focus.

As with VISIBLE and SHOWING, these can be very confusing states to
understand.  In any case, I guess I'd argue that if something is not
SENSISTIVE, then it is not FOCUSABLE.  That is, unless you can actually
tab to it.

Will

Mike Gorse wrote:

> Hi all,
>
> Our QA team noticed that, for a non-sensitive button, gail includes
> ATK_STATE_FOCUSABLE, where UiaAtkBridge currently does not.  Gail simply
> calls GTK_WIDGET_CAN_FOCUS, which checks a flag that is set true for a
> button when it is being constructed.  Does anyone have an opinion as to
> whether or not this behavior is correct?  I'm considering filing a bug
> but don't really know whether it should even be considered a bug.
>
> Thanks,
> -Mike G-
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel@...
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel

_______________________________________________
Gnome-accessibility-devel mailing list
Gnome-accessibility-devel@...
http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
LightInTheBox - Buy quality products at wholesale price!