Support toggling lazyLayout after layout attributes are applied (DISABLED_canToggleLazyLayout)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 75/100
Research direction
Read valdi/test/runtime/ViewNode_tests.cpp, especially DISABLED_canToggleLazyLayout, and inspect the ViewNode layout state handling it exercises. Run bazel test //valdi:test_runtime --test_filter='ViewNode.*canToggleLazyLayout' --test_arg=--gtest_also_run_disabled_tests to reproduce the failure. Update the layout state handling so toggling lazyLayout after attributes are applied restores the correct layout, remove the DISABLED_ prefix, and confirm the test passes.
Written by the indexing model from the issue text.
Description
ViewNode.DISABLED_canToggleLazyLayout in valdi/test/runtime/ViewNode_tests.cpp is disabled. Switching a node from regular layout to lazyLayout, after its layout attributes have already been applied, doesn't recover: the node's layout is wrong after the switch.
What to do: make the view node rebuild its layout state correctly when lazyLayout is turned on or off after layout attributes have been applied. Then remove the DISABLED_ prefix.
How to run
bazel test //valdi:test_runtime --test_filter='ViewNode.*canToggleLazyLayout' --test_arg=--gtest_also_run_disabled_tests
Done when: the test runs without DISABLED_ and passes.
See CONTRIBUTING.md before opening a pull request.
- Dominant language
- C++
- Stars
- 16.4k
- Forks
- 539
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Snapchat/Valdi
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Rust codegen: RustMethodResolver fails to unwrap .nullable on optional interface/module methodsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepseek-ai/DeepGEMM-Ascend#49 ·
Maintainers usually reply within 1 day
-
bug needs testing platform:windows topic:buildsystem topic:platforms
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
godotengine/godot#126110 · 1 comment ·
Maintainers usually reply within 1 day
-
comp-s3queue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#137649 ·
Maintainers usually reply within 1 day
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
yugabyte/yugabyte-db#40355 ·
Maintainers usually reply within 1 day
-
Clear params.inputs in dials.indexPossibly taken @phyy-nx claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dials/dials#3361 · 1 comment ·
Maintainers usually reply within 1 day