Skip to content

When the content of a text file is large, case conversion freezes #262473

Closed

Description

@yangrcaaa

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.102.3
  • OS Version: win11

Steps to Reproduce:

  1. When opening large text files (1mb or more) and using the system's built-in conversion tool to uppercase, the program freezes
    2.Tested, case conversion is normal for versions 1.101 and below

Activity

  1. vs-code-engineering commented on Aug 20, 2025

    @vs-code-engineering
    Contributor

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.103.1. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. yangrcaaa commented on Aug 21, 2025

    @yangrcaaa
    Author

    The version I initially used was 1.103.1. After discovering this issue, I rolled back the version and found that all versions above 1.102.3 exhibited this problem, whereas the older versions did not have this issue.

  3. yangrcaaa commented on Aug 22, 2025

    @yangrcaaa
    Author

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.103.1. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

    The version I initially used was 1.103.1. After discovering this issue, I rolled back the version and found that all versions above 1.102.3 exhibited this problem, whereas the older versions did not have this issue.

  4. alexdima commented on Nov 14, 2025

    @alexdima
    Member

    I can reproduce, this is caused by the nativeEditContext which reacts to each of the lines changing and synchronously updates the DOM in the change event. Aiday Marlen Kyzy (@aiday-mar) please move the updating of the dom to after handling all the change events

    Image

    To reproduce, select all in the file and choose Transform to upper case or Transform to lower case

    sample.txt

  5. added
    freeze-slow-crash-leak
    on Nov 14, 2025
  6. added
    regression
    on Nov 14, 2025
  7. 5 remaining items

  8. added
    unreleased
    on Sep 22, 2026
  9. added
    insiders-released
    and removed
    unreleased
    on Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfreeze-slow-crash-leakinsiders-releasedregressionverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions