Skip to content

[Bug] “Word wrap” lacks overflow-wrap: break-word, for ligatures whose widths exceed that of the viewport. #296151

@RokeJulianLockhart

Description

@RokeJulianLockhart

Whether This Issue Recurs When All Extensions Are Disabled

Yes: with --disable-extensions.

VS Code Version

Version: 1.113.0-insider
Commit: 4b258535ff833325f8d2a1ad5a0cf941407b6a64
Date: 2026-03-20T19:01:58+09:00
Electron: 39.8.2
ElectronBuildId: 13563792
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.19.8-200.fc43.x86_64

Details

  1. #!/usr/bin/env sh
    rpm -qf $(command -v code-insiders) \
    	--queryformat "$(
    		cat <<'EOF'
    Name: %{NAME}
    Version: %{VERSION}
    Release: %{RELEASE}
    Architecture: %{ARCH}
    Install Date: %{INSTALLTIME:date}
    Size: %{SIZE}
    Signature: %{SIGPGP:pgpsig}
    Source RPM: %{SOURCERPM}
    Build Date: %{BUILDTIME:date}
    Build Host: %{BUILDHOST}
    Packager: %{PACKAGER}
    Vendor: %{VENDOR}
    EOF
    	)"$'\n' | yq -P
  2. Name: code-insiders
    Version: 1.113.0
    Release: 1774001782.el8
    Architecture: x86_64
    Install Date: Fri 20 Mar 2026 15:02:47 GMT
    Size: 548330042
    Signature: RSA/SHA256, Fri 20 Mar 2026 10:21:20 GMT, Key ID eb3e94adbe1229cf
    Source RPM: code-insiders-1.113.0-1774001782.el8.src.rpm
    Build Date: Fri 20 Mar 2026 10:16:27 GMT
    Build Host: 4c652113c000000
    Packager: Visual Studio Code Team <vscode-linux@microsoft.com>
    Vendor: Microsoft Corporation

OS Version

  1. #!/usr/bin/env sh
    cat /etc/os-release | jc --ini | jq 'with_entries(.value |= (if type=="string" and test("^[0-9]+$") then tonumber else . end))| {VARIANT, NAME, VERSION_ID}' | yq -P
  2. VARIANT: KDE Plasma Desktop Edition
    NAME: Fedora Linux
    VERSION_ID: 43

Steps To Reproduce It

  1. Create an empty file.

  2. Enable word wrap.

  3. Enter , 1 until the single ligature's width exceeds that of the viewport of the window:

    1. @.Date.20260219T001447+0000.Type.Video.Origin.Untitled-5.-.Visual.Studio.Code.webm
    2. Image

Footnotes

  1. stackoverflow.com/posts/58436753/timeline#comment_132797155

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-wrappingEditor line wrapping issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions