Skip to content

Command Prompt goes black when scrolling up #13840

Closed

Description

Windows Terminal version

1.14.1962.0

Windows build number

10.0.19044.1889

Other Software

No response

Steps to reproduce

Print a large amount of data to the command prompt (history may need to be 999999 depth).

Scroll up.

Expected Behavior

Should scroll up to view the data

Actual Behavior

Screen goes black. It returns to normal when hitting enter.

Activity

  1. ghost added
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Aug 24, 2022
  2. ghost added
    Needs-Tag-FixDoesn't match tag requirements
    on Aug 24, 2022
  3. nbstrong commented on Aug 24, 2022

    @nbstrong
    Author

    Not sure if I should file a separate issue but Windows Terminal also crashes if I try to CLS at this point.

  4. nbstrong commented on Aug 24, 2022

    @nbstrong
    Author

    I feel a bit silly, I went to reproduce it to get screenshots and cannot now. I had been encountering this all day. Will update with screenshots when I see it again.

  5. zadjii-msft commented on Aug 25, 2022

    @zadjii-msft
    Member

    I'll let the bot give you a week to get a consistent repro ☺️ Might be helpful to have you share your settings.json with us too, just in case. /?

  6. ghost added
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Aug 25, 2022
  7. ghost added
    No-Recent-ActivityThis issue/PR is going stale and may be auto-closed without further activity.
    on Aug 29, 2022
  8. nbstrong commented on Aug 29, 2022

    @nbstrong
    Author

    Well this seems to be related though not the exact issue of it going blank.

    This is the original screen after printing out 32765 lines of output:
    image

    This is me scrolling up once (one mousewheel click) with the mouse:
    image

    As you can see it scrolls up 30000 lines and the prompt now appears at the top of the screen.

    CLS also crashed Windows Terminal after this.

    Here is my settings.json.
    settings.json.txt

  9. ghost added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Aug 29, 2022
  10. ghost removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Aug 29, 2022
  11. ghost removed
    No-Recent-ActivityThis issue/PR is going stale and may be auto-closed without further activity.
    on Aug 29, 2022
  12. zadjii-msft commented on Aug 29, 2022

    @zadjii-msft
    Member

    Wow that's all sorts of messed up.

    • There's no scrollbar?! Why is there no scrollbar?
    • What the heck happened to the invalidation here? image That just looks wrong
    • Why the heck would a single mouse tick scrollToTop? that's not right, unless the system scroll lines parameter was crazy high
    • Is the crash pretty consistent? If so, can you try following the steps in this post to set up automatic crash dumps/? (For more info, see this link) If that works, then you should be able to automatically get a .dmp of the terminal when it crashes. Then, can you zip that dump up and send it to us, so we can investigate? Thanks!
  13. ghost removed
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Aug 29, 2022
  14. 7 remaining items

  15. ghost closed this as completedon Sep 6, 2022
  16. ghost removed
    No-Recent-ActivityThis issue/PR is going stale and may be auto-closed without further activity.
    on Sep 6, 2022
  17. j4james commented on Sep 6, 2022

    @j4james
    Collaborator

    FYI, this might be related to the crash in #13499. At least some of the comments there are from users who say they have a large scrollback history, and that the terminal ends up crashing (or at least freezing) when they use clear.

  18. nbstrong commented on Sep 6, 2022

    @nbstrong
    Author

    Unfortunately what I was doing previously to produce it is no longer possible due to project changes, I was reading a bunch of data from a uart via python to produce it and that uart is now elsewhere.

    Tried to do the same by just printing dummy data to the console but no luck.

  19. ghost added
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Sep 6, 2022
  20. ghost removed
    Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to something
    on Sep 6, 2022
  21. zadjii-msft commented on Oct 26, 2022

    @zadjii-msft
    Member

    Hmm. Without a live repro, I'm inclined to just assume that whatever you were seeing here was one of the other crash/hangs we're tracking, and close this thread out. Let's just hope whatever you were seeing gets fixed when we fix the other bugs here.

    /dup #13499

  22. ghost closed this as completedon Oct 26, 2022
  23. ghost removed
    Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting
    on Oct 26, 2022
  24. ghost added
    Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.
    on Oct 26, 2022
  25. ghost removed
    Needs-Tag-FixDoesn't match tag requirements
    on Oct 26, 2022
  26. ghost removed
    Needs-AttentionThe core contributors need to come back around and look at this ASAP.
    on Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions