Closed Bug 1285225 Opened 8 years ago Closed 8 years ago

No shortcut key available for Attributes option via the Inspector context menu

Categories

(DevTools :: Inspector, defect, P1)

50 Branch
defect

Tracking

(firefox47 unaffected, firefox48 unaffected, firefox49 unaffected, firefox50 verified)

VERIFIED FIXED
Firefox 50
Iteration:
50.3 - Jul 18
Tracking Status
firefox47 --- unaffected
firefox48 --- unaffected
firefox49 --- unaffected
firefox50 --- verified

People

(Reporter: adalucinet, Assigned: bgrins)

References

Details

(Keywords: regression, Whiteboard: [devtools-html])

Attachments

(2 files)

[Affected versions]: - latest Nightly 50.0a1 (e10s on/off) [Affected platforms]: - Windows 10 64-bit - Ubuntu 16.04 64-bit [Steps to reproduce]: 1. Launch Firefox 2. Open the Inspector. 3. Right click on any node from the Markup View [Expected result]: Keyboard shortcuts are displayed for every option available in the context menu. [Actual result]: No shortcut available for Attributes option. [Regression range]: - Last good revision: 52679ce4756c53fd88054a55da482291c26ef8db - First bad revision: 9694e371363590c8dace6629dc4d57f1af7206f2 - Pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=52679ce4756c53fd88054a55da482291c26ef8db&tochange=9694e371363590c8dace6629dc4d57f1af7206f2 - I guess this regression was triggered by bug 1266478; Brian, what's your input on this matter? Thanks in advance! [Additional notes]: - Screenshot → https://i.imgur.com/9IAtLLI.png - On Mac OS X 10.11.1, none of the shortcuts are displayed, but all of them are working as expected when selected via keyboard; this behavior is present on both latest Aurora 49.0a2 and firefox 48 beta. Is this expected at all?
QA Whiteboard: [qe-dthtml]
Flags: needinfo?(bgrinstead)
Whiteboard: [devtools-html][triage]
Attached image Screenshot.png
Attached is the correct screenshot. Sorry for the noise!
Flags: qe-verify+
QA Contact: alexandra.lucinet
Blocks: 1266478
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Iteration: --- → 50.3 - Jul 18
Priority: -- → P1
Whiteboard: [devtools-html][triage] → [devtools-html]
Have a patch up for review that should have a fix. Here's a try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bc294cd41a30
Flags: needinfo?(bgrinstead)
Comment on attachment 8768903 [details] Bug 1285225 - Set accesskey and disabled properties on menuitems with submenus in Menu API; https://reviewboard.mozilla.org/r/62924/#review59988 Looks good, thanks! ::: devtools/client/framework/menu.js:112 (Diff revision 1) > + if (item.disabled) { > + menu.setAttribute("disabled", "true"); > + } > + if (item.accesskey) { > + menu.setAttribute("accesskey", item.accesskey); > + } While we're at it, should we also set the id on a submenu item if an id is provided ?
Attachment #8768903 - Flags: review?(jdescottes) → review+
Pushed by bgrinstead@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/720cb43ca662 Set accesskey and disabled properties on menuitems with submenus in Menu API;r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Verified fixed using latest Nightly 50.0a1, under Windows 10 64-bit and Ubuntu 16.04 64-bit. Although, the issue mentioned in comment 1/[Additional notes] number 2 is still applicable: under Mac OS X 10.11.1, there are no shortcuts visible, but all of them work as expected when selected via keyboard. Brian, is this expected at all? Is there any intended implementation on this matter under Mac?
Flags: needinfo?(bgrinstead)
(In reply to Alexandra Lucinet, QA Mentor [:adalucinet] from comment #7) > Verified fixed using latest Nightly 50.0a1, under Windows 10 64-bit and > Ubuntu 16.04 64-bit. > Although, the issue mentioned in comment 1/[Additional notes] number 2 is > still applicable: under Mac OS X 10.11.1, there are no shortcuts visible, > but all of them work as expected when selected via keyboard. > Brian, is this expected at all? Is there any intended implementation on this > matter under Mac? Yeah, this is expected on OSX - the accesskeys should still work but they aren't visible in the UI
Flags: needinfo?(bgrinstead)
(In reply to Brian Grinstead [:bgrins] from comment #8) > (In reply to Alexandra Lucinet, QA Mentor [:adalucinet] from comment #7) > > Verified fixed using latest Nightly 50.0a1, under Windows 10 64-bit and > > Ubuntu 16.04 64-bit. > > Although, the issue mentioned in comment 1/[Additional notes] number 2 is > > still applicable: under Mac OS X 10.11.1, there are no shortcuts visible, > > but all of them work as expected when selected via keyboard. > > Brian, is this expected at all? Is there any intended implementation on this > > matter under Mac? > > Yeah, this is expected on OSX - the accesskeys should still work but they > aren't visible in the UI Thanks for the prompt reply! Marking here accordingly!
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: