binaryage / binaryage/cljs-devtools

Rendering issue in devtools scope tree

Đang mở
#52 7 bình luận 0 reaction 0 người được giao Xem trên GitHub
chrome-bug
Ngôn ngữ chính
Clojure
Star
1.1k
Fork
51
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Problem
We have recently noticed the following rendering issue with the devtools scope tree.

![image](https://user-images.githubusercontent.com/4626024/64827447-91c17280-d607-11e9-8116-647caffbc037.png)

## Environment / Observations

- this started happening a few weeks back.
- seems to happen intermittently although presently it is all the time.
- happens both on my Linux Ubuntu (Ubuntu 18.04.3 LTS) desktop and a colleague's Windows 10.
- Chrome Version 77.0.3865.75 (Official Build) (64-bit)
- Chrome restart does not clear it.
- Playing with docking position does not change anything.
- Sometimes I have seen it render some of the vars but not all of them if you resize the devtools scope panel.
- If you disable custom formatters in settings, it renders fine but alas back to raw JS data structures.
- Rendering same ds in console via `js/console.log` does the right thing and expandable tree renders perfectly.

This might be a cljs-devtools issue I see latest 0.9.10 was released over a year ago. I'm not sure but did dirac embed the devtools and is it possibly running a more up to date version ? (we don't use dirac at the moment, but if installing it instead of cljs-devtools would that solve it ?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Issue không nêu tệp nguồn hay bài kiểm thử nào; trước tiên hãy tái hiện vấn đề render cây phạm vi trong Chrome khi đã bật custom formatters và so sánh với việc render trong console. Công việc được xem là hoàn tất khi các biến được render đầy đủ và chính xác trong cây phạm vi mà không cần tắt custom formatters, kể cả sau khi thay đổi kích thước panel.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
clojure, javascript
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.