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]: The ConfigEditor graphic (GFX) glitch when the big knob data declaration. #426

Open
1 task done
Eathonhsu opened this issue Dec 2, 2024 · 0 comments
Open
1 task done
Labels
state:needs-owner Needs an issue owner to be assigned state:needs-triage Needs to triaged to determine next steps type:bug Something isn't working urgency:low Little to no impact

Comments

@Eathonhsu
Copy link

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

I meet a graphic (GFX) glitch issue if trying to declare a big knob data.
Please refer to the attachment (IioConfigschema.xml) IioConfigschema.xml

The key thing is declaring the quantity.

Total: 3 * 10 * 8 * 2 (uint8_t)

...
  <Structs>
    <Struct name="Port_Struct" help="Port Configuration">
        <Member name="IsEnabled" prettyname="IsEnabled" type="uint8_t" default="0" help="TBD" />
        <Member name="PcieAspm" prettyname="PcieAspm" type="uint8_t" default="0" help="TBD" />
    </Struct>
    <Struct name="PciExpress_Struct" help="Pci Express Index">
        <Member name="Port" type="Port_Struct" count="8" help="Port Configuration" />
    </Struct>
    <Struct name="Socket_Struct" help="Socket number">
        <Member name="PciExpress" type="PciExpress_Struct" count="10" help="Pci Express Number" />
    </Struct>
    <Struct name="SOCKET_IIO_CONFIG" help="Socket Iio Configuration">
        <Member name="Socket" type="Socket_Struct" count="3" help="Socket" />
    </Struct>

  </Structs>
...

The expected result - the ConfigEditor should show complete information.
But the enumeration is broken.
Image

Total: 2 * 10 * 8 * 2 (uint8_t)

...
  <Structs>
    <Struct name="Port_Struct" help="Port Configuration">
        <Member name="IsEnabled" prettyname="IsEnabled" type="uint8_t" default="0" help="TBD" />
        <Member name="PcieAspm" prettyname="PcieAspm" type="uint8_t" default="0" help="TBD" />
    </Struct>
    <Struct name="PciExpress_Struct" help="Pci Express Index">
        <Member name="Port" type="Port_Struct" count="8" help="Port Configuration" />
    </Struct>
    <Struct name="Socket_Struct" help="Socket number">
        <Member name="PciExpress" type="PciExpress_Struct" count="10" help="Pci Express Number" />
    </Struct>
    <Struct name="SOCKET_IIO_CONFIG" help="Socket Iio Configuration">
        <Member name="Socket" type="Socket_Struct" count="2" help="Socket" />
    </Struct>

  </Structs>
...

If I declare the quantity to 2, the problem will not occur.
Image

Expected Behavior

The expected result - the ConfigEditor should show complete information.
Image

Steps To Reproduce

Please refer to the attachment (IioConfigschema.xml) IioConfigschema.xml

Build Environment

- OS(s): Windows 10.0.19042 Build 19042
- Tool Chain(s): Python 3.11.9
- Targets Impacted:

Version Information

Commit: 0d4628ff3f1d98aeda75ee0f89bfb4c3a6eb948b

Urgency

Low

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

@Eathonhsu Eathonhsu added state:needs-triage Needs to triaged to determine next steps type:bug Something isn't working labels Dec 2, 2024
@github-actions github-actions bot added urgency:low Little to no impact state:needs-owner Needs an issue owner to be assigned labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:needs-owner Needs an issue owner to be assigned state:needs-triage Needs to triaged to determine next steps type:bug Something isn't working urgency:low Little to no impact
Projects
None yet
Development

No branches or pull requests

1 participant