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
View height does not update when adjacent container's height changes #145996
Comments
Able to hit this consistently on my Windows vm but have never seen it on Mac. Perhaps a timing bug where we're measuring the container too early. |
Ah, doesn't repro when motion is disabled. So the search tree tries to measure its height right when it gets the vscode/src/vs/workbench/contrib/search/browser/searchView.ts Lines 1056 to 1076 in d675c04
|
Ended up just measuring element height, ended up with a but of a fuzz factor I rolled into "margin". |
I think this is basically what it used to do, which apparently had an issue: #116182 I'm not sure why measuring the height outside the tree had this issue with scaling but the measurement inside the tree was ok. But could you test it with a zoom factor like in that issue? |
And I even verified it back then. But testing now on MacOS with some different scaling settings and my Windows VM across a variety of resolutions (100,125,150,175,200,225,250,400), I haven't been able to spot that coming up. Though it's perhaps worth noting my eyes aren't excelling at distinguishing nearby horizontal lines at the moment. @joaomoreno are you able to verify with your setup? |
Seems OK to me on Insiders today. |
Nope, can't scroll more here, despite there being obvious tree rows in there: Repro:
Bug first spotted by @bpasero |
Marking important as I lost search results to work on because of this. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: