You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bash on Ubuntu on Windows drawing issues while resizing window #30
Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingProduct-ConhostFor issues in the Console codebase
Updating a Raspberry Pi with Raspbian OS using 'apt' via SSH in Bash for Windows and resizing the window during the upgrade phase (sudo apt upgrade -y) seems to have rows drawing issues.
I was able to reproduce it also within my Bash sub-system while upgrading it.
I can confirm that this is in fact happening. I can understand why it's happening, given the current workings of the console. However, I don't think a fix would be super easy. I believe this has something to do with the Console reflowing the text after a resize event. We keep redrawing the buffer every time the size changes, and then apt is also redrawing on top of that, and everyone gets confused. We might be able to defer reflowing until the resize has stopped, but that might not resolve the problem entirely, and might make it worse.
So, I've taken a closer look at this. I believe the "Right Way" to fix this is to implement a more unix-y buffer. Unfortunately that's a little bit bigger of a task then we can get done for the next release, but (without committing to anything) we do have work planned in that area.
In the meantime, I'm replacing the "bug" label with the "feature" label - still on our radar, just a little bit farther out.
Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingProduct-ConhostFor issues in the Console codebase
Activity
zadjii-msft commentedon Sep 13, 2017
I can confirm that this is in fact happening. I can understand why it's happening, given the current workings of the console. However, I don't think a fix would be super easy. I believe this has something to do with the Console reflowing the text after a resize event. We keep redrawing the buffer every time the size changes, and then apt is also redrawing on top of that, and everyone gets confused. We might be able to defer reflowing until the resize has stopped, but that might not resolve the problem entirely, and might make it worse.
I'll add it to my bug backlog either way.
noscript commentedon Nov 14, 2017
The problem has probably something do with recognizing
\ror^H.zadjii-msft commentedon Nov 28, 2017
So, I've taken a closer look at this. I believe the "Right Way" to fix this is to implement a more unix-y buffer. Unfortunately that's a little bit bigger of a task then we can get done for the next release, but (without committing to anything) we do have work planned in that area.
In the meantime, I'm replacing the "bug" label with the "feature" label - still on our radar, just a little bit farther out.
carlos-zamora commentedon Jul 10, 2024
Yeah, now that #8000 is done, we think that this is as good as it gets. Closing.