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)
Tracking
(firefox49 unaffected, firefox50 unaffected, firefox51 verified, firefox52 verified)
| 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)
|
58 bytes,
text/x-review-board-request
|
gl
:
review+
gchang
:
approval-mozilla-aurora+
|
Details |
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)
Updated•9 years ago
|
Blocks: devtools-html-phase2
Flags: qe-verify+
QA Contact: cristian.comorasu
Whiteboard: [devtools-html] [triage]
| Assignee | ||
Comment 1•9 years ago
|
||
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
Updated•9 years ago
|
Priority: -- → P2
Whiteboard: [devtools-html] [triage] → [devtools-html]
Comment 2•9 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=7e873393cc11d326338779e5a3ed2da031e30936&tochange=8d2a514d0f23060d95b4f705c98ed37baff46422
Regressed by: 8d2a514d0f23 Brian Grinstead — Bug 1301790 - Bundle codemirror into a single script;r=gl
Blocks: 1301790
status-firefox50:
--- → unaffected
status-firefox51:
--- → affected
status-firefox52:
--- → affected
Keywords: regressionwindow-wanted → regression
| Assignee | ||
Comment 3•9 years ago
|
||
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)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 5•9 years ago
|
||
The patch also moved babel settings into package.json as described in bug 1301790 comment 9
Ref: https://babeljs.io/docs/usage/babelrc/
Updated•9 years ago
|
Iteration: --- → 52.1 - Oct 3
Priority: P2 → P1
| Assignee | ||
Updated•9 years ago
|
Summary: jumpToLine shortcut does not work in inspector and scratchpad → Codemirror dialog does not work in inspector and scratchpad
Comment 6•9 years ago
|
||
| mozreview-review | ||
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+
status-firefox49:
--- → unaffected
Comment 8•9 years ago
|
||
Autoland can't push this until it's marked as r+ in MozReview.
Flags: needinfo?(gl)
Keywords: checkin-needed
Comment 9•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8793605 [details]
Bug 1304262 - codemirror dialog does not work in inspector and scratchpad;
https://reviewboard.mozilla.org/r/80318/#review79122
Comment 10•9 years ago
|
||
I am not quite sure what the problem is since it is already marked as r+ in MozReview
Flags: needinfo?(gl)
Comment 11•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8793605 [details]
Bug 1304262 - codemirror dialog does not work in inspector and scratchpad;
https://reviewboard.mozilla.org/r/80318/#review79126
Comment 12•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8793605 [details]
Bug 1304262 - codemirror dialog does not work in inspector and scratchpad;
https://reviewboard.mozilla.org/r/80318/#review79128
Comment 13•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8793605 [details]
Bug 1304262 - codemirror dialog does not work in inspector and scratchpad;
https://reviewboard.mozilla.org/r/80318/#review79130
Comment 14•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d6103dea7601d9bae093847ef2b234697d923552
Bug 1304262 - codemirror dialog does not work in inspector and scratchpad; r=gl
Comment 15•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
| Assignee | ||
Comment 16•9 years ago
|
||
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 17•9 years ago
|
||
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+
Comment 18•9 years ago
|
||
| bugherder uplift | ||
Comment 19•9 years ago
|
||
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?
Updated•9 years ago
|
Flags: needinfo?(gasolin)
| Assignee | ||
Comment 20•9 years ago
|
||
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)
Comment 21•9 years ago
|
||
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)
| Assignee | ||
Comment 22•9 years ago
|
||
thanks for your help :)
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•