Describe the bug
When creating a slider with an event handler, and giving empty input to its "Value" variable name, no error or warning is thrown. After building, a set_var_() function is used in the screens.c callback function.
To Reproduce
Steps to reproduce the behavior:
- Launch EEZ Studio 0.26.2.
- Create a v9.2.2 LVGL project.
- Place a slider.
- In its properties, click on the event handlers
+ icon.
- Add a new action - I added the action
whatever
- Select VALUE_CHANGED event (I know, doesn't make sense, but it's 02:00 in the morning and I am so tired).
- Leave user data as 0.
- Head up to "SPECIFIC" in the slider's properties, and select "Variable" in "Value".
- Remove the default "25" in the "Value" input box. (Notice, it's not giving a warning.):
- Check and build - notice no warnings or errors.
- Head to the build directory and check
screens.c:
Expected behavior
When giving an empty input, throw an error or a warning, like when entering an invalid variable name:
Btw, this builds regardless of the error/warning too? Maybe a bug also?
Screenshots
Included with steps.
Desktop (please complete the following information):
LVGL version (if used)
Disclaimer
Please take into account that the tasks reported here will be processed by the Envox team according to the best effort principle, so adjust your expectations accordingly. However, if you want a more prompt and high-quality response as well as direct contact with technical support, you can choose one of our Support plans.
Describe the bug
When creating a slider with an event handler, and giving empty input to its "Value" variable name, no error or warning is thrown. After building, a
set_var_()function is used in thescreens.ccallback function.To Reproduce
Steps to reproduce the behavior:
+icon.whateverscreens.c:Expected behavior
When giving an empty input, throw an error or a warning, like when entering an invalid variable name:
Btw, this builds regardless of the error/warning too? Maybe a bug also?
Screenshots
Included with steps.
Desktop (please complete the following information):
LVGL version (if used)
Disclaimer
Please take into account that the tasks reported here will be processed by the Envox team according to the best effort principle, so adjust your expectations accordingly. However, if you want a more prompt and high-quality response as well as direct contact with technical support, you can choose one of our Support plans.