Closed Bug 56145 Opened 24 years ago Closed 2 years ago

Arrow keys should cycle focus between widgets in <titledbox> on win32

Categories

(Core :: XUL, defect, P3)

x86
Windows 98
defect

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: bugzilla, Unassigned)

Details

Arrow key behavior for widgets in <titledbox>'es should match Windows
behavior.  The keys should cycle focus between widgets in a top to bottom,
left to right order (unless a tab order is specified, presumably).  In a
textfield, of course, the arrow keys should serve only to move the caret left
and right.  Note that focus should only be cycled between the widgets in the
<titledbox> that the widget (which had the focus when the arrow key was
pressed) resides in.  If there's no <titledbox>, focus should cycle between
all widgets in the same (top to bottom, left to right) order.
argh...this was meant to go in XPT, not XPT: Trees.  reassigning.

(XPT may not be the best component for this.  Keyboard Nav seems like it'd be 
better, but I can't think of anyone in that group who would implement this sort 
of thing...?)
Assignee: hyatt → trudelle
Component: XP Toolkit/Widgets: Trees → XP Toolkit/Widgets
Presumably would be done in the XBL of the <titledbox>.
Assignee: trudelle → ben
One important distinction I forgot to mention:

Radiobuttons should get checked when they get focus (when cycling), whereas 
checkboxes should not (they should only get focus).
I disagree with the above comment, they shouldn't get checked if a user is just
tabbing through them to get to something else.
Well, that's standard Windows behavior.  Also, you're not tabbing through 
(which should just set focus), you're navigating with the arrow keys.  Also, 
that's how navigation currently works for radiobuttons in a radiogroup.
Eh, sorry, I was thinking tabbing, not arrow keys.
I noticed that arrow keys dont work in message boxes. For example 
http://javascript.internet.com/messages/name-alert.html
 after pressing the Hello, Click Here button, I cant use the arrow keys in the 
message box.
That's a different issue, but left-right arrows work in a javascript prompt()
dialog mac/linux/win32. [up-down have per platform behaviours, but that may
be intentional; I didn't look at the bindings because I'm lazy].
Status: NEW → ASSIGNED
Target Milestone: --- → Future

Is this still relevant?

The bug assignee didn't login in Bugzilla in the last 7 months.
:enndeakin, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: bugs → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(enndeakin)

No longer relevant.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(enndeakin)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.