Open
Bug 94984
Opened 24 years ago
Updated 2 years ago
Navigating context menu by keyboard will traverse collapsed menu items
Categories
(Core :: XUL, defect)
Tracking
()
NEW
mozilla1.2alpha
People
(Reporter: risto.kankkunen, Unassigned)
Details
(Keywords: access)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3) Gecko/20010801
BuildID: 2001080110
The Composer context menu seems to contain hidden menu items that you can
navigate to with arrow keys. The the current menu item loses higlight, but the
next one is highlighted only after two or more arrow key presses.
Reproducible: Always
Steps to Reproduce:
1.Start composer
2.Open the context menu, you'll see "Paste", -, "Select All", -, "Discontinue
Text Styles" and "Create Link..."
3.Press down arrow a number of times and see how menu items are highlighted.
Actual Results: You have to press down arrow
5 times to select "Paste",
2 times to go to "Select All",
1 time to go to "Discontinue Text Styles",
1 time to go to "Create Link..." and
14 times to go back to "Paste"
Expected Results: You should need to press down arrow
1 time to select "Paste",
1 time to go to "Select All",
1 time to go to "Discontinue Text Styles",
1 time to go to "Create Link..." and
1 time to go back to "Paste"
Comment 1•24 years ago
|
||
Confirming it with win98, build 2001081108
Marking as NEW and moving to XP Toolkit/Widgets: Menus
Status: UNCONFIRMED → NEW
Component: Editor → XP Toolkit/Widgets: Menus
Ever confirmed: true
bug 94990 may be related
Assignee: beppe → pinkerton
QA Contact: sujay → jrgm
Comment 3•24 years ago
|
||
The EditorContextMenu.js toggles the menu items by setting the 'collapsed'
attribute. In contrast, nsContextMenu.js directly sets style to 'display:none',
and hidden menuitems are not part of the keyboard navigation.
If setting collapsed=true should leave menuitems in the navigation sequence,
then this is a content bug. If it shouldn't, then a menu bug.
[And no, this doesn't have anything to do with bug 94990, since that is a
very visible, recent regression. This keyboard quirk has been around for
(at a minimum) weeks].
Summary: Navigating context menu by keyboard leads to hidden menu items → Navigating composer context menu by keyboard leads to hidden menu items
Comment 4•24 years ago
|
||
hidden maps to display:none. collapsed maps to visibility:collapse. This is a
menu bug.
Comment 5•23 years ago
|
||
my question is why does the editor js set the collapsed attribute and not the
hidden attribute? should both really do the same thing?
hyatt, have you made any changes in this area regarding syntax recently?
Comment 6•23 years ago
|
||
If we are supposed to use "hidden" instead of "collapse", this is fixed very
easily. I can take this bug.
Assignee: pinkerton → cmanske
Target Milestone: --- → mozilla0.9.4
Comment 7•23 years ago
|
||
Ooops! looks like I jumped the gun. The central issue is whether key navigation
should skip over "collapsed" menuitems. Certainly seems like it should.
If you want Composer to switch to using "hidden" instead of "collapsed", or
you decide to not skip over collapsed items, file a separate bug on me or assign
this one and I'll take care of that.
Assignee: cmanske → pinkerton
Comment 8•23 years ago
|
||
yeah, this is a toolkit bug in the key navigation code. we should do the same for
collapsed as we do for hidden. dr was saying he was bored. here ya go, doc!
Assignee: pinkerton → dr
[spam] -> 0.9.5
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 10•23 years ago
|
||
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Target Milestone: mozilla0.9.5 → ---
Comment 11•23 years ago
|
||
back to -> pinkerton (who may still want to give this to someone else, but
probably knows specifically what needs to be done).
Assignee: chofmann → pinkerton
Comment 13•23 years ago
|
||
I'll be happy to change Composer's menuitem hiding to use "hidden" rather
than "collapsed" (I've done it in my tree), but we do want to fix the
basic problem anyway, correct? So I'll hold off on the Composer fix to keep it
as the test case.
Comment 15•23 years ago
|
||
Mass-moving lower-priority 0.9.5 bugs off to 0.9.6 to make way for remaining
0.9.4/eMojo bugs, and MachV planning, performance and feature work. If you
disagree with any of these targets, please let me know.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 16•23 years ago
|
||
I don't see this on 2001100203. Arrowing down through the menu works as expected.
(I do see the entire menu briefly when I press Escape. Anyone know if that's
already been filed?)
Comment 17•23 years ago
|
||
cmanske changed the menu to use 'hidden' instead of 'collapsed' -> bug 100015
So, this bug is really about making the generic change to menu code to
not walk through menu items that are visibility:collapsed.
(p.s., Dean, I don't see that thing with Esc showing whole menu, but if
you can reproduce it then file a bug for that).
Summary: Navigating composer context menu by keyboard leads to hidden menu items → Navigating context menu by keyboard will traverse collapsed menu items
Comment 18•23 years ago
|
||
Filed as bug 103069.
Comment 20•23 years ago
|
||
Clearing milestone and setting nsbeta1 keyword for triage.
Keywords: nsbeta1
Target Milestone: mozilla0.9.7 → ---
Comment 22•23 years ago
|
||
nsbeta1- per Nav triage team, ->1.2
Comment 23•23 years ago
|
||
removing myself from the cc list
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
Updated•16 years ago
|
Assignee: jag → nobody
Updated•15 years ago
|
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•