Skip to content
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

Bug Report #1081

Closed
dgilmour77 opened this issue May 31, 2019 · 1 comment
Closed

Bug Report #1081

dgilmour77 opened this issue May 31, 2019 · 1 comment
Labels
Area-VT Virtual Terminal sequence support Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Conhost For issues in the Console codebase Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@dgilmour77
Copy link

Environment

Windows build number: Version 10.0.18362.116
Windows Terminal version (if applicable): 

Any other software?

1. Ubuntu/WSL:
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic

2. VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 10 2018 21:31:58)
Included patches: 1-1453
Modified by [email protected]
Compiled by [email protected]

Note: problem appeared after installing May 2019 Windows update

Steps to reproduce

  1. Open Ubuntu terminal by clicking on Ubuntu icon.
  2. Set terminal colors via preferences dialog to background gray, text black
  3. Open a text file with vim:
  4. Scroll down a screen or two
  5. Navigate up with cursor until it causes upward scrolling
  6. Observe background color of repainted area behind text at top of screen

Also:
Occasionally happens when scrolling downward with rapid cursor down keystrokes at the bottom of the screen

Expected behavior

Background color should be uniform

Actual behavior

Background fills with black background, not the gray background that was set in preferences.

scroll problem
The color is temporarily corrected by pressing Control-L, forcing a repaint.

I understand this seems similar to other reported bugs, but workarounds suggested elsewhere have no effect, including:

:set t_ut=""/t_ut=y
:set lazyredraw/nolazyredraw
:set ttyfast/nottyfast

Loading other vim color schemes, disabling .bashrc, did not help. Neovim shows the same problem. I can find no workaround that allows me to use a light grey background and edit files.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 31, 2019
@DHowett-MSFT
Copy link
Contributor

Workarounds aside, this definitely seems to be #832 #375. Thanks for the report!
There was another workaround in these threads, but I wasn't able to find it.

@DHowett-MSFT DHowett-MSFT added Area-VT Virtual Terminal sequence support Product-Conhost For issues in the Console codebase Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 31, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-VT Virtual Terminal sequence support Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Conhost For issues in the Console codebase Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants