Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Brief flickering of rendering artifacts while loading the UI

Đang mở
#1,712 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
html
Lĩnh vực
frontend

Hướng nghiên cứu

Reproduce the loading sequence at http://tinypilot.local and inspect app/templates/index.html around the statically included dialogs. Then compare those elements with app/templates/custom-elements/shutdown-dialog.html and the later dialog-hiding step. Done means the UI no longer briefly shows dialog or button artifacts during initialization, including in affected browsers.

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

Mô tả

bug

A really tiny UI glitch: when loading the TinyPilot UI (e.g. http://tinypilot.local), the browser might very briefly display some intermediate artifacts while initializing the frontend:

Screenshot 2023-12-20 at 11 59 01

You can observe this effect in the screen cast video of this PR, around the 2:01 time mark.

To me, it appears as if these buttons come from our dialogs: e.g., the first button row looks like the ones from the shutdown dialog (without labels, though), the button underneath is probably a dangling “close” button.

The root cause might be that the dialogs are statically dumped into the index.html page. So the artifact flickering could stem from the fact that there is a short time gap between the browser initially rendering the dialogs’ HTML, and then hiding the dialogs in a later step.

This issue might be browser-dependent.

Ngôn ngữ chính
Python
Star
3.5k
Fork
292
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tiny-pilot/tinypilot

Tất cả issue của tiny-pilot/tinypilot

Issue tương tự

Thêm issue về Python

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.