zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.81k stars 2.08k forks source link

The error underline looks bad #7436

Open widersky opened 5 months ago

widersky commented 5 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

  1. Just look at any underline decoration 😅

My settings.json:

{
  "show_copilot_suggestions": true,
  "terminal": {
    "dock": "bottom"
  },
  "project_panel": {
    "dock": "left",
    "folder_icons": false
  },
  "buffer_font_family": "Fira Code",
  "buffer_font_size": 12,
  "ui_font_family": "Inter",
  "ui_font_size": 15,
  "theme": "One Light",
  "autosave": "off",
  "format_on_save": "off",
  "buffer_line_height": "comfortable",
  "tab_size": 2,
  "confirm_quit": true,
  "show_whitespaces": "all",
  "wrap_guides": [100],
  "features": {
    "copilot": true
  },
  "tabs": {
    "close_position": "left",
    "git_status": true
  },
  "assistant": {
  }
}

Environment

Zed: v0.121.3 (Zed Preview) OS: macOS 14.3.0 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

rev4324 commented 5 months ago

The issue seems to occur only when the active display is LoDPI. MacBook's 2x scaled HiDPI display:

image

External 1x 1440p LoDPI display: image

widersky commented 3 months ago

image

This is how it's looking when issue occurs on single character - is almost invisible.

doctopus commented 1 month ago

Is there a setting to disable the error underlines completely?

KraXen72 commented 14 hours ago

this also happens for me on fedora 40, kde plasma 6, wayland on a 1440p 100% scaled display.