microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.5k stars 29.38k forks source link

There is a `obj` icon beside all colors in CSS/SASS/SCSS files #233697

Open skamansam opened 5 days ago

skamansam commented 5 days ago

Type: Bug

To Reproduce: Open a css file with a color anywhere in the file. Expected: the colors are shown normally. Actual: there is a obj icon beside all the colors, with or without color previews enabled.

Image

VS Code version: Code - Insiders 1.96.0-insider (5690e16478e0d893f5649b87e842faa82965b738, 2024-11-12T05:04:13.942Z) OS version: Linux x64 6.11.6-300.fc41.x86_64 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 6900HX with Radeon Graphics (16 x 4438)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off| |Load (avg)|2, 2, 3| |Memory (System)|30.60GB (9.54GB free)| |Process Argv|--disable-extensions| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|hyprland| |XDG_CURRENT_DESKTOP|Hyprland| |XDG_SESSION_DESKTOP|Hyprland| |XDG_SESSION_TYPE|wayland|
Extensions disabled
gjsjohnmurray commented 5 days ago

@aiday-mar could this be a consequence of your recent work?

aiday-mar commented 5 days ago

Hi thanks for filing this issue. I am not able to reproduce this. I have a CSS file open with color decorators as follows. Do you have any extension that could be causing this, extensions that contribute color functionality?

Image

aiday-mar commented 5 days ago

This looks like you may have badly rendered unicode characters before your colors. Are you able to remove them using your cursor and deleting them?