godotengine / godotengine/godot

No pressed feedback on inspector previews that display images (Texture2D, Mesh, Material)

Open
#95,130 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

Tested versions
  • Reproducible in: 4.2.2.stable, 4.3.rc e343dbbcc
System information

Godot v4.3.rc (e343dbbcc) - Fedora Linux 40 (KDE Plasma) - X11 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4090 (nvidia; 555.58.02) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

Issue description

Unlike text-based resource previews, previews that display an image (such as Texture2D, Mesh and Material) don't get modulated with the editor accent color when expanded. Only the icon on the left is modulated. This looks inconsistent with the rest of the editor's pressed feedback.

https://github.com/user-attachments/assets/0d80cb13-d3a7-4fcb-8b0b-940faa7b6138

https://github.com/user-attachments/assets/08c434c9-4125-48d0-99d5-ff0a9a1cd8ad

Steps to reproduce
  • Create a MeshInstance3D node.
  • Add a Meshresource of any type (other than ArrayMesh or ImmediateMesh, as these display text instad).
  • Click on its name to expand/collapse it. Notice how its color doesn't change to your editor theme's accent color (blue by default) like it does for other resource types.
Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior in the Godot inspector with a MeshInstance3D and a Mesh resource, comparing image-based previews with text-based previews when expanded or collapsed. Trace the inspector resource-preview handling for Texture2D, Mesh, and Material; done means their preview content receives the editor accent-color pressed feedback consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.