UI / vertical scrolling is broken in `scroll` example
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
Start by running the scroll example and compare its layout before and after the Taffy update referenced in the issue. The report points to UI node dimensions and alignment behavior, but does not identify a file or test; trace the example and the Taffy alignment changes to locate the regression. Done means the lists remain in frame and vertical scrolling behaves correctly with the reported item counts.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bevy version and features
- 0.20-dev (since commit https://github.com/bevyengine/bevy/commit/e3d48d622b5df41f1113ebc2c91ddc229606caee, updating Taffy 0.10 to 0.13)
What you did
Run the scroll example to test vertical scrolling
What went wrong
There are "two" main issues that show up in this example:
- The UI layout is not correct: Some lists like the bidirectional scrolling lists and the nested scrolling list are not visible, rendering out of frame (See additional information below).
- Vertical scrolling is not working correctly: Because of how messed up the UI is, it makes vertical scrolling seem like it is bugged or not working at all, if I increase the amount of items (changing the "spawn range" from
0..25to0..100) then it works fine, maybe the container is showing the 25 items it has, but this is hard to tell as half of the list is out of frame and previously the container only showed 15 items at once.
Additional information
I am not sure if scroll is only the example that has this problem, but it SEEMS the issue has something to do with the dimensions of the nodes because of how the vertical scrolling list seems to have enough height (with height: percent(50)) to show all the its items, and how the other lists are rendering out of frame despite the only thing dictating their spacing is justify_content: JustifyContent::SpaceBetween in the parent container with a width and height of percent(100).
The commit updating Taffy is small and doesn't touch the scroll example or any UI logic except updating Taffy's alignment style types that changed from being enums to structs in v0.11.0.
Before e3d48d6:
After e3d48d6:
EDIT: Wording
- Ngôn ngữ chính
- Rust
- Star
- 49.7k
- Fork
- 5k
- Merge trung bình
- 3 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 134
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của bevyengine/bevy
-
C-Bug S-Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bevyengine/bevy#26536 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Placeholder has no defaultCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởC-Feature S-Needs-Triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
bevyengine/bevy#26532 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
C-Feature S-Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bevyengine/bevy#26500 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`Selected` should derive ReflectĐang mởC-Feature S-Needs-Triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
bevyengine/bevy#26499 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`compute_histogram` in auto exposure writes past the end of the 64-bin histogramCó thể đã có người làm @dev-matru đã nhận 3 ngày trước. Đang mởA-Rendering C-Bug D-Straightforward S-Ready-For-Implementation X-Uncontroversial
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
bevyengine/bevy#26479 ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của bevyengine/bevy
Issue tương tự
-
bug UI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
wardian-app/Wardian#1746 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
jlcodes99/cockpit-tools#3125 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
bug user-sprint
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Vondor/KassenSturz#967 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/ci
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] Incremental sync warns "no stored highest_uid" on every round for folders with no new mailĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
rustmailer/bichon#411 ·