Closed
Bug 291099
Opened 20 years ago
Closed 19 years ago
Using keyboard to navigate through context menus of menu items (e.g. bookmarks) skips every other item
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: robert.strong.bugs, Assigned: neil)
References
Details
(Keywords: fixed1.8, regression, testcase, Whiteboard: [no l10n impact])
Attachments
(3 files)
1.13 KB,
application/vnd.mozilla.xul+xml
|
Details | |
1.26 KB,
patch
|
Details | Diff | Splinter Review | |
1.95 KB,
patch
|
aaronlev
:
review+
dbaron
:
superreview+
asa
:
approval1.8rc1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050418 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050418 Firefox/1.0+
When using the keyboard to select bookmark context menu menuitems some menuitems
are often skipped. The closest bug to this I could find is bug 266076 but that
deals with accesskeys.
Reproducible: Always
Steps to Reproduce:
1. Click Bookmarks and context menu click a bookmark
2. Use the arrow keys to select menuitems
Actual Results:
Some enabled menuitems are skipped
Expected Results:
Each enabled menuitem is selected in turn
This bug appears for all bookmarks and bookmark folder in the Bookmarks menu. It
appears that if the context menu is brought up from the top of the Bookmarks
Toolbar for a bookmark or bookmark folder that it is possible to select each
enabled menuitem in turn using the arrow keys on the keyboard. If the bookmark
or bookmark folder is inside of another bookmark folder in the Bookmarks Toolbar
that this bug is exhibited.
Comment 1•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050419
Firefox/1.0+
Confirmed.
the Items are picked seemingly at random
very much depends on where the mousepointer is located
Comment 2•20 years ago
|
||
Looks to have regressed somewhere between 20050117 and 20050127. And at least
what I'm seeing isn't random, it's just every other menu item gets skipped.
Keywords: regression
![]() |
Reporter | |
Comment 3•20 years ago
|
||
I noticed it wasn't random as well just after filing. It seems as if the
keypress event is running twice for popups that are a contentmenu of a popup.
![]() |
Reporter | |
Comment 4•20 years ago
|
||
![]() |
Reporter | |
Comment 5•20 years ago
|
||
This does not appear to be bookmarks specific though it does affect bookmarks.
Changing the summary, product, and component accordingly though I suspect the
category may still be incorrect.
Component: Bookmarks → Toolbars and Toolbar Customization
Product: Firefox → Toolkit
Summary: Bookmarks context menu menuitems are inconsistently selected using keyboard → context menu menuitems are inconsistently selected using keyboard for menupopup context menu
![]() |
Reporter | |
Updated•20 years ago
|
Component: Toolbars and Toolbar Customization → Keyboard: Navigation
Product: Toolkit → Core
Version: unspecified → Trunk
![]() |
Reporter | |
Comment 6•20 years ago
|
||
Reassigning to nobody@mozilla.org since this is not bookmarks specific to get it
off of Vladimir's plate.
Assignee: vladimir+bm → nobody
Comment 7•20 years ago
|
||
Aaron, could this be a regression from your bug 282438? The window is
2005-02-17-07 to 2005-02-18-07, and even though I don't know what I'm talking
about, yours looks the most likely.
![]() |
Reporter | |
Updated•20 years ago
|
Component: Keyboard: Navigation → XP Toolkit/Widgets: Menus
![]() |
||
Comment 8•20 years ago
|
||
The regression range in comment 7 is off by a month (compare comment 2). I see
the bug in a 2005-01-19-08 build but not a 2005-01-18-07 build.
So bug 282438 is definitely not it.
Bug 167145, on the other hand, is quite a likely culprit, since it messed around
with key events...
Assignee: nobody → aaronleventhal
Flags: blocking1.8b3?
Updated•20 years ago
|
Flags: blocking1.8b4+
Flags: blocking1.8b3?
Flags: blocking1.8b3-
Updated•20 years ago
|
Whiteboard: [no l10n impact]
Comment 9•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050802
Firefox/1.0+ ID:2005080207
For me, the navigation moves in the opposite direction of the key i'm pressing.
i.e. I press up and it moves down.
![]() |
Reporter | |
Comment 10•20 years ago
|
||
Aaron - it appears that way visually because it is skipping an item.
Comment 11•20 years ago
|
||
Attachment #191588 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #191588 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 12•20 years ago
|
||
Spin off bug 303404 is a crash I found while debugging this.
Assignee | ||
Comment 13•20 years ago
|
||
Comment 14•20 years ago
|
||
*** Bug 304603 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Attachment #191588 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #191588 -
Flags: superreview?(bzbarsky)
Attachment #191588 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #191588 -
Flags: review?(bzbarsky)
Updated•19 years ago
|
Attachment #191845 -
Flags: superreview?(dbaron)
Attachment #191845 -
Flags: review+
Updated•19 years ago
|
Attachment #191588 -
Flags: superreview?(bzbarsky)
Attachment #191588 -
Flags: review?(bzbarsky)
Updated•19 years ago
|
Whiteboard: [no l10n impact] → [no l10n impact][need SR dbaron]
Updated•19 years ago
|
Flags: blocking1.8b5+ → blocking1.8b5-
Attachment #191845 -
Flags: superreview?(dbaron) → superreview+
Assignee | ||
Comment 16•19 years ago
|
||
Fix checked in to the trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 17•19 years ago
|
||
*** Bug 311259 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Flags: blocking1.8rc1?
Updated•19 years ago
|
Summary: context menu menuitems are inconsistently selected using keyboard for menupopup context menu → Using keyboard to navigate through context menus of menu items (e.g. bookmarks) skips every other item
Updated•19 years ago
|
Attachment #191845 -
Flags: approval1.8rc1?
Comment 18•19 years ago
|
||
Comment on attachment 191845 [details] [diff] [review]
Don't attach multiple listeners
I'm nervous about this change. We can't afford any regressions this late in the
game. What kind of testing has been done here and what kind of risk does this
patch pose?
Comment 19•19 years ago
|
||
neil, aaron, qa, have we verified that this doesn't break anything?
Keywords: qawanted
Comment 20•19 years ago
|
||
I will check this on Windows XP, but using today's Mac trunk build (Mozilla/5.0
(Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051011
Firefox/1.6a1), the test case doesn't work. Using today's Mac Branch build, the
test case does work.
Comment 21•19 years ago
|
||
Just to clarify, when I mean the test case works, you can use the arrow keys to
move up and down without skipping.
(In reply to comment #20)
> I will check this on Windows XP, but using today's Mac trunk build (Mozilla/5.0
> (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20051011
> Firefox/1.6a1), the test case doesn't work. Using today's Mac Branch build, the
> test case does work.
Comment 22•19 years ago
|
||
This looks ok using today's Windows Trunk build (Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051011 Firefox/1.6a1). If I run the
test case, I can arrow through the choices with no problem. I also did some
context clicking on bookmarks and didn't see any problems.
Updated•19 years ago
|
Attachment #191845 -
Flags: approval1.8rc1? → approval1.8rc1+
Comment 23•19 years ago
|
||
plussing since we decide to take this patch.
Flags: blocking1.8rc1? → blocking1.8rc1+
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Keywords: qawanted
Whiteboard: [no l10n impact][need SR dbaron] → [no l10n impact]
Comment 24•19 years ago
|
||
Neil, can you get this checked into the branch soon? If not, let us know and we
can find someone who can land it (maybe me :)).
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: mconnor → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•