Skip to content

llr: Fix panic when two-way binding ListView viewport to a global#11281

Merged
ogoffart merged 2 commits intomasterfrom
olivier/fix-#11095
Apr 8, 2026
Merged

llr: Fix panic when two-way binding ListView viewport to a global#11281
ogoffart merged 2 commits intomasterfrom
olivier/fix-#11095

Conversation

@ogoffart
Copy link
Copy Markdown
Member

@ogoffart ogoffart commented Apr 6, 2026

Allow LLR ListViewInfo to hold global references, not just local ones. The remove_aliases pass can rewrite viewport properties to point to globals when using <=>, which caused a panic in lower_to_item_tree.

Fixes: #11095

Allow LLR ListViewInfo to hold global references, not just local ones.
The remove_aliases pass can rewrite viewport properties to point to
globals when using `<=>`, which caused a panic in lower_to_item_tree.

Fixes: #11095
@ogoffart ogoffart requested a review from tronical April 6, 2026 15:01
@ogoffart ogoffart requested a review from LeonMatthes April 7, 2026 17:12
@ogoffart ogoffart merged commit 3bd5cc7 into master Apr 8, 2026
42 of 46 checks passed
@ogoffart ogoffart deleted the olivier/fix-#11095 branch April 8, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regression - ListView and two way binding to a global cause panic in 1.15.1 but worked in 1.14.1

2 participants