-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Layout code panics #5649
Labels
Milestone
Comments
teh-cmc
added
📺 re_viewer
affects re_viewer itself
💣 crash
crash, deadlock/freeze, do-no-start
labels
Mar 22, 2024
It’s hard to tell, but this is actually a assert that is only on debug builds. Still, it indicates that there is some UI that is smaller than zero, which probably means a layout bug |
looking at the code a bit that figures out the min width that the assert is stumbling on, isn't bounded despite a bound being defined - pushing a speculative fix that will make clear what I mean |
5 tasks
Wumpf
added a commit
that referenced
this issue
Mar 22, 2024
…ebug assertion (#5650) ### What * Fixes #5649 ~This is a speculative fix, didn't have a repro.~ From the callstack we know that a certain `ui.set_max_width(column_width - 8.0);` might have gotten a too small width. Looking at how `column_width` is produced this may very well happen if for some reason there's very little `available_width`. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5650/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5650/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5650/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/5650) - [Docs preview](https://rerun.io/preview/4207de64817bf7002b8ff271b8a875ab63f62b23/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/4207de64817bf7002b8ff271b8a875ab63f62b23/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Didn't do anything particular... I'll come up with a repro later hopefully.
This happened deep into the data APIs branches, which are lagging a bit behind latest main:
The text was updated successfully, but these errors were encountered: