Wrap guides are too thin under X11 with 1.5 scale factor
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
In settings.json put:
"wrap_guides": [80],
which under X11 with a 1.5 scale factor renders a line which is extremely thin (see attached screenshot). Note, however, that the indentation lines on the left hand side are fine (1px for the wrap guides and 2px for the indentation lines). This issue does not occur on macOS.
Environment
Zed: v0.158.1 (Zed) OS: Linux X11 gentoo 2.15 Memory: 62.4 GiB Architecture: x86_64 GPU: Intel(R) Arc(tm) A770M Graphics (DG2) || Intel open-source Mesa driver || Mesa 24.2.5
If applicable, add mockups / screenshots to help explain present your vision of the feature
If applicable, attach your Zed.log file to this issue.
Zed.log
Can confirm on my end as well, but Wayland with 1x scale factor.
The line becomes a lot more visible if I set soft_wrap to preferred_line_length.
Otherwise, it's basically invisible.
I just had to set up a theme override to make it darker:
"experimental.theme_overrides": {
"editor.wrap_guide": "#3333"
}
I don't think this is a design issue (it should just render the line correctly!) it may be an issue with gpui/a linux specific case or the blade render.
I just had to set up a theme override to make it darker:
The problem is that the same override applies on both light and dark variants. Indeed I couldn't see the lines on "One Light" theme, and slightly on "One Dark".
I just changed the themes.
Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and we will keep it open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, we'll close it in 7 days. Thanks for your help!
Am able to reproduce as described with the current version.
As a guess, https://github.com/zed-industries/zed/pull/38967 could help with this as helped with https://github.com/zed-industries/zed/issues/22711
Zed Preview 0.207 (will be released later today) should contain the change — would be interesting to see if it really helps.
Confirmed as still present in 0.207.