Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.119.0
- OS Version: Ubuntu 24.04.2 LTS
Word wrapping does not work correctly in Linux. It seems like the rendering engine is miscalculating the width of the text and are inserting soft breaks too late. The text extends dozens of pixels beyond the boundaries of the text box's dimensions before wrapping.
This has not been a problem for Windows on my work machine.
Steps to Reproduce:
- In a text box, type enough content so that it exceeds its width
Expected behavior:
The text wraps to the next line
Actual behavior:
The text box scrolls horizontally until another breaking point.
Cursor at the end of a wrapping line:

Cursor at the beginning:

This is not a new problem, by the way, it's been long-standing.
Some more specifics (let me know what other details would be helpful):
XDG_SESSION_TYPE is x11
- Desktop environment is i3wm, Regolith
- I notice that spaces are really wide, more than they would normally be for variable-width fonts.
Does this issue occur when all extensions are disabled?: Yes
Word wrapping does not work correctly in Linux. It seems like the rendering engine is miscalculating the width of the text and are inserting soft breaks too late. The text extends dozens of pixels beyond the boundaries of the text box's dimensions before wrapping.
This has not been a problem for Windows on my work machine.
Steps to Reproduce:
Expected behavior:
The text wraps to the next line
Actual behavior:
The text box scrolls horizontally until another breaking point.
Cursor at the end of a wrapping line:

Cursor at the beginning:

This is not a new problem, by the way, it's been long-standing.
Some more specifics (let me know what other details would be helpful):
XDG_SESSION_TYPEisx11