zed icon indicating copy to clipboard operation
zed copied to clipboard

When changing the theme inlay hint gets reseted.

Open sheikalthaf opened this issue 1 year ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

When inlay hint is on, trying to change the theme then inlay hint is getting reseted.

Environment

Zed: v0.119.6 (Zed Preview) OS: macOS 14.1.0 Memory: 16 GiB Architecture: aarch64

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

No response

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

sheikalthaf avatar Jan 12 '24 03:01 sheikalthaf

cc @SomeoneToIgnore, @maxdeviant

JosephTLyons avatar Jan 15 '24 03:01 JosephTLyons

@sheikalthaf I can't seem to reproduce this.

What I tried:

  1. Enabled inlay hints
  2. Opened the theme selector
  3. Flipped through multiple themes and observed that the inlay hints updated accordingly with the color from the new theme.

maxdeviant avatar Jan 25 '24 21:01 maxdeviant

I can't seem to reproduce this.

@maxdeviant here you go:

https://github.com/zed-industries/zed/assets/16290753/595149d8-cc40-480a-ba9f-41ef3575c899

Reproduction steps:

  1. Enable inlay hints using the editor action button in the toolbar.
  2. Press cmd-shift-p to open the Command Palette.
  3. Select theme selector: toggle.
  4. See the inlay behind disabled.

Moshyfawn avatar Mar 12 '24 18:03 Moshyfawn