Closed
Bug 1400963
Opened 8 years ago
Closed 8 years ago
scrolling out in json viewer
Categories
(DevTools :: JSON Viewer, defect, P3)
Tracking
(firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
People
(Reporter: yuraantonov11, Assigned: Oriol)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20170918100059
Steps to reproduce:
I open developer tools with ajax request witch returns json.
Actual results:
when i select some row in response and move down with arrows on keyboard, selected row in json goes beyond
Expected results:
when i select some row in response and move down with arrows on keyboard, selected row in json should not go beyond, and json should scroll down
Updated•8 years ago
|
Component: Untriaged → Developer Tools
Updated•8 years ago
|
Component: Developer Tools → Developer Tools: Netmonitor
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Developer Tools: Netmonitor → Developer Tools: JSON Viewer
Ever confirmed: true
Also occurs when open an json (json viewer) and scrolling.
Summary: scrolling in dev tools → scrolling out in json viewer
Updated•8 years ago
|
status-firefox57:
--- → fix-optional
Priority: -- → P3
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → oriol-bugzilla
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 4•8 years ago
|
||
`document` is not available in the DOM panel, which uses TreeView too. So I switched to `ReactDOM.findDOMNode`.
Comment 5•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8924147 [details]
Bug 1400963 - Scroll selected row into view in JSON Viewer.
https://reviewboard.mozilla.org/r/195408/#review200988
Thanks for the patch!
R+ assuming try is green
Honza
::: devtools/client/jsonview/test/browser_jsonview_row_selection.js:12
(Diff revision 2)
> +
> +add_task(function* () {
> + info("Test JSON row selection started");
> +
> + // Create a tall JSON so that there is a scrollbar.
> + let numRows = 1e3;
heh, creative way to say `1000` ;-)
Attachment #8924147 -
Flags: review?(odvarko) → review+
Comment 6•8 years ago
|
||
There was a conflict in browser.ini when I applied the patch.
You might want to check it out before landing.
Honza
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Jan Honza Odvarko [:Honza] from comment #6)
> There was a conflict in browser.ini when I applied the patch.
Thanks, rebased the patch.
(In reply to Jan Honza Odvarko [:Honza] from comment #5)
> heh, creative way to say `1000` ;-)
I tend to use exponential notation for big numbers; not much useful for 1000, though.
Keywords: checkin-needed
Comment 9•8 years ago
|
||
hg error in cmd: hg rebase -s bd3edec1b462 -d 1c1e25c461a0: abort: can't rebase public changeset bd3edec1b462
(see 'hg help phases' for details)
Updated•8 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 10•8 years ago
|
||
I don't understand, what am I supposed to do to?
Flags: needinfo?(ryanvm)
Comment 11•8 years ago
|
||
Redirecting to someone who knows MozReview :)
Flags: needinfo?(ryanvm) → needinfo?(mcote)
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 13•8 years ago
|
||
Fixed a typo in the test. I still don't know what's with this phases problem.
Comment 14•8 years ago
|
||
glob, you know what's happening here?
Flags: needinfo?(mcote) → needinfo?(glob)
Comment 15•8 years ago
|
||
db7d4a3601e5's phase is public; it should be draft:
> $ hg log -T '{node} {phase}\n' -r db7d4a3601e5
> db7d4a3601e51281e1c8057acdfcb500c415b65d public
the revision from comment 12 looks correct:
> $ hg log -T '{node} {phase}\n' -r a5606bc28432
> a5606bc28432368fe5d4e7f9285d61cf04997cef draft
i can't tell how db7d4a3601e5 was changed to public – it's likely this was an accidental action by oriol.
setting checkin-needed as it looks like a5606bc28432 should be ok.
Flags: needinfo?(glob)
Keywords: checkin-needed
Comment 16•8 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 03d59dbc349a -d e412b3da631e: rebasing 432460:03d59dbc349a "Bug 1400963 - Scroll selected row into view in JSON Viewer. r=Honza" (tip)
merging devtools/client/shared/components/tree/TreeView.js
warning: conflicts while merging devtools/client/shared/components/tree/TreeView.js! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Updated•8 years ago
|
Keywords: checkin-needed
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment 20•8 years ago
|
||
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ba9156f71b76
Scroll selected row into view in JSON Viewer. r=Honza
Keywords: checkin-needed
Comment 21•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•8 years ago
|
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•