Describe the bug
A code generation bug occurs in EEZ Studio when using LVGL v9.x. The bug appears when trying to assign a variable to the options property of an lvgl_roller object. The issue manifests in the generated screens.c file within the src/ui directory after building the project. Despite updating EEZ Studio to version 16.1, the bug persists.*
To Reproduce
Steps to reproduce the behavior:
Create new LVGL project in EEZ Studio 16.1 (latest).
Add Roller object to main page.
Create a global string variable and assign to roller options in properties.
Hit build.
Check generated screens.c file in output src/ui directory.
Expected behavior
The generated screens.c file should correctly reflect the assignment of the variable to the options property of the lvgl_roller object, with no errors.
Actual Behavior:
The variable assignment to the options property of the lvgl_roller object is incorrectly handled in the generated screens.c file, resulting in incorrect code generation.
This issue appears exclusively in the screens.c file after building the project.
Screenshots
With variable on roller object:
Without variable on roller object:
Desktop
OS: Ubuntu Desktop
Version 24.04 LTS
LVGL version (if used)
9.x
Additional context
I am available to provide additional details
Describe the bug A code generation bug occurs in EEZ Studio when using LVGL v9.x. The bug appears when trying to assign a variable to the options property of an lvgl_roller object. The issue manifests in the generated screens.c file within the src/ui directory after building the project. Despite updating EEZ Studio to version 16.1, the bug persists.*
To Reproduce Steps to reproduce the behavior:
Expected behavior The generated screens.c file should correctly reflect the assignment of the variable to the options property of the lvgl_roller object, with no errors.
Actual Behavior:
The variable assignment to the options property of the lvgl_roller object is incorrectly handled in the generated screens.c file, resulting in incorrect code generation.
This issue appears exclusively in the screens.c file after building the project.
Screenshots With variable on roller object:
Without variable on roller object:
Desktop
LVGL version (if used)
Additional context I am available to provide additional details