Closed Bug 1304262 Opened 9 years ago Closed 9 years ago

Codemirror dialog does not work in inspector and scratchpad

Categories

(DevTools :: Source Editor, defect, P1)

51 Branch
defect

Tracking

(firefox49 unaffected, firefox50 unaffected, firefox51 verified, firefox52 verified)

VERIFIED FIXED
Firefox 52
Iteration:
52.1 - Oct 3
Tracking Status
firefox49 --- unaffected
firefox50 --- unaffected
firefox51 --- verified
firefox52 --- verified

People

(Reporter: gasolin, Assigned: gasolin)

References

Details

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

Attachments

(1 file)

STR: * Open inspector in nightly, press Ctrl+J make current window focus to elsewhere * Open inspector in 50a2, press Ctrl+J will show an commandline at the top of codemirror window for input line number Same as find(Ctrl+F), find again(Ctrl+G)
Flags: qe-verify+
QA Contact: cristian.comorasu
Whiteboard: [devtools-html] [triage]
scratchpad is affected as well update: find again(Ctrl+G) works
Summary: jumpToLine/find again shortcut does not work in inspector → jumpToLine shortcut does not work in inspector and scratchpad
Priority: -- → P2
Whiteboard: [devtools-html] [triage] → [devtools-html]
Thanks for locate the regression window! I found `dialog.css` is removed in jar.mn, which makes the dialog UI invisible to user content/sourceeditor/codemirror/addon/dialog/dialog.css (sourceeditor/codemirror/addon/dialog/dialog.css)
Assignee: nobody → gasolin
No longer blocks: 1301790
Status: NEW → ASSIGNED
Depends on: 1301790
The patch also moved babel settings into package.json as described in bug 1301790 comment 9 Ref: https://babeljs.io/docs/usage/babelrc/
Iteration: --- → 52.1 - Oct 3
Priority: P2 → P1
Summary: jumpToLine shortcut does not work in inspector and scratchpad → Codemirror dialog does not work in inspector and scratchpad
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; https://reviewboard.mozilla.org/r/80318/#review78982 R+, Thank you for the patch!
Attachment #8793605 - Flags: review?(gl) → review+
thanks
Keywords: checkin-needed
Version: unspecified → 51 Branch
Autoland can't push this until it's marked as r+ in MozReview.
Flags: needinfo?(gl)
Keywords: checkin-needed
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; https://reviewboard.mozilla.org/r/80318/#review79122
I am not quite sure what the problem is since it is already marked as r+ in MozReview
Flags: needinfo?(gl)
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; https://reviewboard.mozilla.org/r/80318/#review79126
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; https://reviewboard.mozilla.org/r/80318/#review79128
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; https://reviewboard.mozilla.org/r/80318/#review79130
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; Approval Request Comment [Feature/regressing bug #]: bug 1301790 [User impact if declined]: No find/jump dialog in scratchpad & debugger [Describe test coverage new/current, TreeHerder]: green [Risks and why]: minor, only add missing css in jar.mn [String/UUID change made/needed]: N
Attachment #8793605 - Flags: approval-mozilla-aurora?
Comment on attachment 8793605 [details] Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; This patch fixes a regression. Take it in 51 aurora.
Attachment #8793605 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
I reproduced this issue using Fx 52.0a1, build ID:20160920030429, on Windows 10 x64. I verified the fix using Fx52.0a1, build ID: 20160928030201 and Fx 51.0a2, build ID: 20160928004008, on Windows 10 x64. If opening the inspector and pressing Ctrl + J the library is opened, on both nightly and aurora, however in scratchpad the issue is fixed. Should I log a new bug with this issue?
Christian, To test CodeMirror in inspector, you have to 1. open inspector panel 2. hover on any line of code and right click to open the context menu 3. select 'edit HTML' to open the embeded CodeMirror editor 4. press Ctrl+J inside the editor and check if jumpToLine dialog is shown
Flags: needinfo?(gasolin) → needinfo?(cristian.comorasu)
Thank you for the details! I verified on the latest nightly and latest aurora, the issue is fixed. Cheers!
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(cristian.comorasu)
thanks for your help :)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: