Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Conflicting ids when using field named color and inline visualizer using color #2087

Open
1 task
xZise opened this issue Jan 25, 2025 · 1 comment
Open
1 task
Labels
bug Something isn't working

Comments

@xZise
Copy link

xZise commented Jan 25, 2025

Operating System

Windows

What's the issue you encountered?

When using a field named color in the pattern editor, which is also using the inline visualizer of the type color it displays an error for conflicting ids as soon as I hove the mouse over the name or color button:

Image

How can the issue be reproduced?

Define a type with an inline visualizer and declare a field of that type named color. For example:

bitfield A {
    does_not_matter : 1;
} [[hex::inline_visualize("color", 0xff, 0x00, 0x00, 0xff)]];

A color @ $;

ImHex Version

1.36.2

ImHex Build Type

  • Nightly or built from sources

Installation type

msi

Additional context?

No response

@xZise xZise added the bug Something isn't working label Jan 25, 2025
@WerWolv
Copy link
Owner

WerWolv commented Jan 25, 2025

Hey, thanks for the report. I've fixed this last week in master (3a888d4), you can use the latest nightly build to get the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants