Closed Bug 14574 Opened 25 years ago Closed 25 years ago

[XBL] Regression: Can't navigate in menus with arrow keys

Categories

(Core :: XUL, defect, P4)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cpratt, Assigned: mikepinkerton)

References

Details

(Whiteboard: Dependent on my XBL work.)

Build ID: 1999092208
Platform: Windows NT

To reproduce:
- Launch apprunner
- Wait for the default page to load
- Click into the Location: control
- Press Alt-F to drop down the File menu
- Press the cursor keys to navigate through the menus

Result: Nothing changes in the menu! Instead, pressing the left and right cursor
keys will move the caret around in the Location: control.

Expected result: When a menu is dropped down, cursor keypresses should navigate
in menus and not in the text input widget which previously had focus.
Whiteboard: [TESTCASE] Menus should be given keyboard focus when activated by an access key
Verifying the bug report as valid & definitive.
Assignee: joki → trudelle
Hyatt is menu man.  Although they do respond to arrow keys in general this
particular case seems not to work.  Sending to trudelle for assignment.
Assignee: trudelle → saari
Priority: P3 → P4
Target Milestone: M12
keystrokes may be going to the editor in this case.  reassigning to saari as p4
for m12.

BTW, this is far from 'major' severity, which means 'major loss of function'.
The menus aren't a function, and this bug represents only a trivial
inconvenience in their use.
Severity: major → trivial
Changing severity in accordance with trudelle's comments.
Try it again, I bet it works now (doing a windows build right now)
Using the 1999092408 build on NT, the problem is still very much there as
described.
mass-moving all m12 bugs to m13
Component: Event Handling → XPMenus
QA Contact: janc → sairuh
with 1999121509 on winNT i can use the arrow keys to move around the menu
items. *however*, when i use the up/down arrow keys, the content in the browser
window also scrolls up and down(!). anyone else see that?

reassigned QA contact to me & updated component.
Status: NEW → ASSIGNED
Target Milestone: M13 → M15
Summary: Can't navigate in menus with cursor keys → Can't navigate in menus with arrow keys
Changing summary from "cursor" to "arrow"
Update on 2000010908 build (WinNT4 SP6):

- I can only move between the first and the last item on the menu;
  pressing 'up' arrow at 'New Navigator Window' takes me to 'Quit',
  and pressing the 'down' arrow takes me back again.  This is, of course,
  correct - but it's not possible to choose any other menu items using arrow
  keys.

- Similarly, pressing 'left' arrow at the file menu takes me to the last menu
  on the right ('QA') and pressing 'right' arrow there takes me back.  Again,
  it's impossible to navigate to any other menu than 'File' and 'QA' using the
  arrow keys.

- 'Up' and 'down' arrows also scroll the page up and down as described by
  sairuh.
Assignee: saari → hyatt
Status: ASSIGNED → NEW
David, I'm tossing you this for balance and because you can probably fix it
faster than I can
Status: NEW → ASSIGNED
Target Milestone: M15 → M14
do you guys want to keep this one or should i take it?
This will automatically fix itself once XBL gets further along.  It's not
actually a bug in menus.
[thanks to pinkerton for the clarification on this.]

i've updated the summary, since i remember it working on older builds...
Summary: Can't navigate in menus with arrow keys → [Regression] Can't navigate in menus with arrow keys
*** Bug 12219 has been marked as a duplicate of this bug. ***
Blocks: 14107
BULK MOVE: Changing component from XP Menus to XP Toolkit/Widgets: Menus.  XP 
Menus component will be deleted.
Component: XPMenus → XP Toolkit/Widgets: Menus
Whiteboard: [TESTCASE] Menus should be given keyboard focus when activated by an access key → Dependent on my XBL work.
Summary: [Regression] Can't navigate in menus with arrow keys → [XBL] Regression: Can't navigate in menus with arrow keys
putting on beta1 radar
This was caused by pink's interface map changes to nsMenuFrame and nsBoxFrame, 
etc. etc.  Reassigning to him for triage.
Assignee: hyatt → pinkerton
Status: ASSIGNED → NEW
fix in hand, waiting for tree to open. this was a stupid regression. apologies.
Status: NEW → ASSIGNED
fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
*** Bug 24109 has been marked as a duplicate of this bug. ***
verified as fixed on winNT using non-comm bits from 2000-02-04-10.
Status: RESOLVED → VERIFIED
*** Bug 25225 has been marked as a duplicate of this bug. ***
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: bugzilla → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.