eclipse-threadx / guix

Eclipse ThreadX GUIX Studio provides a complete, embedded graphical user interface (GUI) library and design environment, facilitating the creation and maintenance of all graphical elements needed by your device.

Home Page:https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/guix/index.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GUIX multiple identical resources

SIeviN opened this issue · comments

Describe the bug
In the guix .gxp file there are multiple instances of a resource which are identical. There are 4 instances of the checkbox on and off, radio on and off each.

<resource>
<type>PIXELMAP</type>
<name>CHECKBOX_ON</name>
<pathinfo>
<pathname>graphics\system_png\checkbox_on.png</pathname>
<pathtype>studio_relative</pathtype>
</pathinfo>
<is_default>TRUE</is_default>
<enabled>TRUE</enabled>
<compress>TRUE</compress>
<alpha>FALSE</alpha>
<dither>FALSE</dither>
<raw>FALSE</raw>
<color_format>0</color_format>
<output_file_enabled>FALSE</output_file_enabled>
<palette_type>None</palette_type>
</resource>

Please also mention any information which could help others to understand
the problem you're facing:
Present in 5.4.2.9 and latest version

To Reproduce
I am not sure how it happened, but it can be reproduced by duplicating a resource directly in the .gxp file, not through GUIX studio

Expected behavior
Only one instance of the resource should be present. Or a warning/notification about the issue

Impact
What impact does this issue have on your progress (e.g., annoyance, showstopper)
no impact, just an annoyance with scripts that parse the file