Skip to content

text document a long length of render text having a max lines length causing scaling problem for leading to text to cut out after around 50,000 lines. #202050

Closed

Description

@sirivus

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

  • VS Code Version: latest vscode insider version
  • OS Version: macosx sonoma 14.0

Steps to Reproduce:

  1. create a 50,000+ lines with full text lengths, cut off is around 49,000 depending on window size, used to display full 60,000+ word document length, is this for performance reasons, i could not find or increase the limit anywhere.

Activity

  1. balbertho commented on Jan 9, 2024

    @balbertho

    +1 Same issue

    Type: Bug

    1. Create a long file with more than 1000000px code total height
    2. All lines after this will be invisible and will be visible only after modifying the height directly in developer tool.

    VS Code version: Code - Insiders 1.86.0-insider (4caba04, 2024-01-08T05:36:56.355Z)
    OS version: Windows_NT x64 10.0.22621
    Modes: Restricted

    image

    The bug does not exist in 2014-01-05's build:
    Version: 1.86.0-insider (user setup)
    Commit: 1cfc62d
    Date: 2024-01-05T16:21:29.391Z
    Electron: 27.1.3
    ElectronBuildId: 25612240
    Chromium: 118.0.5993.159
    Node.js: 18.17.1
    V8: 11.8.172.18-electron.0
    OS: Windows_NT x64 10.0.26020

    Maybe related to pull request #194712 ?

  2. RedCMD commented on Jan 9, 2024

    @RedCMD
    Contributor

    siri vus (@sirivus)
    there is a hidden setting to change it
    I think you can see it when hovering over the end?

  3. sirivus commented on Jan 9, 2024

    @sirivus
    Author

    Screenshot 2024-01-08 at 8 35 44 PM
    RedCMD (@RedCMD) you mean this? none of these settings fix this issue.

  4. RedCMD commented on Jan 9, 2024

    @RedCMD
    Contributor

    image
    "editor.stopRenderingLineAfter": 50000

  5. balbertho commented on Jan 9, 2024

    @balbertho

    RedCMD (@RedCMD)
    I don't think changing ""editor.stopRenderingLineAfter"" resolves the issue. The issue seems to happen even with 1 character per line and the last visible line may cut by half according to my screenshot while the config is having characters as unit (default: 10000) and intended for long line and marked as unknown configuration currently.

  6. sirivus commented on Jan 9, 2024

    @sirivus
    Author

    "editor.largeFileOptimizations": true , toggling true or false doesn't affect this issue at all either and "editor.stopRenderingLineAfter": 50000 - it does say on mouse hover: unknown configuration currently, and doesn't fix this issue.

    Also, when entering 'editor.largeFileOptimizations' which exists as: Special handling for large files to disable certain memory intensive features - but will not show up while typing in the small popup overlay for autocompletion?

  7. connor4312 commented on Jan 11, 2024

    @connor4312
    Member

    Duplicating into #202138

  8. antlaij commented on Jan 15, 2024

    @antlaij

    Looks like the css setting limited the height of the view.
    image

    If I set the height to 1e+08px, then I can see all the lines

    height: 1e+08px;

  9. balbertho commented on Jan 15, 2024

    @balbertho

    Yes, and it seems the maximum allowed height value is 33554400px, which is approximately 1766022.5 of 19px height lines, which I guess is why bigNumbersDelta is needed which is removed in pull request #194712 and causing this issue. But anyway they are tracking in issue #202138 now.

  10. locked and limited conversation to collaborators on Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions