Open Bug 1328009 Opened 3 years ago Updated 2 years ago

JSON viewer UI is broken after bug 1259819, bug 1289912, bug 1285863


(DevTools :: JSON Viewer, defect, P3)



(Not tracked)


(Reporter: arni2033, Unassigned)



(Keywords: regression)

>>>   My Info:   Win7_64, Nightly 52, 32bit, ID 20161001030430 (2016-10-01)
Bad things that were broken:
1) "text" cursor above buttons JSON, Raw Data, Headers
2) Parts of scrollbars aren't visible:
 "Raw data" - right scrollbutton in horizontal scrollbar is invisible
 "Headers", "Raw Data" - scrollbar is placed below "the main scrollbar" and therefore unaccessible
 ("Raw data" - vertical scrollbar appears if I press "Pretty print" button)
3) "JSON" - Filter field isn't fully visible.
 If I paste a long string there, it moves all content to the right
4) Heiht of tabs in JSON viewer breaks if I switch between them:
 If I switch to "JSON" - then "Raw data" - then again "JSON" - "Raw Data" = raw data
 jumps by 40px to the bottom, horizontal scrollbar becomes invisible, and also
 "Raw Data" sets to itself the same height as "JSON". Then if I switch back to "JSON"
 again and close root item, right scrollbar is still visible.

JSON for testing:

This was broken 2 times.
1. Bug 1259819 (between 2016-07-16 and 2016-07-17): normal -> no scrollbar 
> pushlog

2. Bug 1289912, bug 1285863 (between 2016-08-03 and 2016-08-04): no scrollbar -> all said bugs
> pushlog
Component: Untriaged → Developer Tools: JSON Viewer
Priority: -- → P3
No longer blocks: 1277113
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.