Thu 31 Aug 2006 12:24:53 PM UTC, comment #1:
I can reproduce this with wxmsw. I'm using a 20060605 snapshot
of what eventually became wx-2.7 .
The msw documentation says that a radiobutton has
- a "focus state" indicated by highlighting
(the button's text is surrounded by a dotted line)
- a "check state" indicated by a black dot
The problem here is that those states become inconsistent:
in a single radiobox, one radiobutton is "focused", while
another is "checked". When that happens, keyboard navigation
breaks.
We use only the wxRadioBox api, not the wxRadioButton api.
I would guess that this report might indicate a wx problem,
because I don't find anything in the wx api that would
permit me to produce the observed behavior even if I
deliberately tried to.
> Alt M P
> Proscribe0 tab
> check 'No nuts'
In 'Entree', liver is both focused and checked.
> tab to 'Entree' and use keyboard's downward arrow to select
> 'Beef tongue'
Tongue is both focused and checked.
But if you press down-arrow once, then
- liver gets checked, yet
- tongue retains focus.
The disabled peanut-butter item appears to gain the "checked"
property (the black dot) for an instant, although it always
remains visibly disabled (grayed); the black dot then quickly
moves to liver.
Now there's a problem with keyboard navigation. Liver is
checked. When up-arrow is pressed, the "checked" property is
temporarily gained by peanut butter (disabled), then quickly
moves back to liver. No matter how many times it is pressed,
up-arrow cannot cause the (enabled) tongue item to become
checked.
|