Introduction#
We're excited to announce LVGL Pro v1.1.2. This release is focused on quality, stability, and rapidly responding to bugs reported by our users. Don't worry, we still have exciting new work in progress.
There is one breaking change in this release: widget API props (getters) were generated with an extra argument. This is now fixed, and while all _gen.h files regenerate automatically on export, you will need to manually update any [widget].c files. Details below.
Breaking Change: Widget API Props#
For widgets using API element props, the code generator previously included an unnecessary first argument, the parent widget pointer:
<api>
<element name="myelement" access="get" type="lv_obj">
<prop name="myprop" type="int" />
</element>
</api>xmlThe extra lv_obj_t * parameter for the parent widget has been removed from the generated signature:
void my_widget_set_myelement_prop(
lv_obj_t * smart_slider,
lv_obj_t * myelement,
int32_t myprop);cvoid my_widget_set_myelement_prop(
lv_obj_t * myelement,
int32_t myprop);cComponent C code is generated automatically, so this fix applies seamlessly for components. For widgets, you need to manually delete or update the [widget].c file so it matches the corrected signature.
All [widget]_gen.h files will be regenerated automatically on code export, but you must delete or fix any [widget].c files to correct the generated function signatures.
What's New#
Custom Context Menu#
The editor now features a context menu with functional actions, giving you quicker access to common operations right where you need them. (#328)
ANSI Console Colors#
Console output now uses ANSI colors to distinguish errors, warnings, and notes at a glance, making it faster to spot issues during development. (#332)
Intelligent Resource Conversion#
Image and font conversion now skips resources that are already up to date, which means faster iteration times, especially in projects with many assets.
Changes#
- Preview now fits to screen automatically when the preview selection changes.
Bug Fixes#
This release resolves over a dozen community-reported issues:
- Widget private headers now use the correct pointer type for non-object child elements such as
lv_chart_series. - Subject update feedback loop fixed by skipping updates that originate from LVGL itself.
- Inspector shortcuts: Alt and Alt + I toggles now work correctly.
- Textarea now appears for string and text type attributes.
- Test screenshot path resolution with subfolders corrected.
- LVGL Pro weblinks now point to the correct URLs.
- Editor crash when opening a project without a
globals.xmlfile resolved. - Excessive API inheritance for extended components reduced.
lv_textareamissing properties and part selector restored. (#295)- Project overview now correctly reflects component library content and presence.
- Schema loading: all files load into the LVGL Schema when a component library is added.
- Float values in subject fields now parse correctly. (#330)
- Translations: multiple issues resolved including not showing until opening a project, not updating in preview, local translations never shown, and input field stability.
- Subject inputs now reject out-of-range
min_value/max_valueupdates consistently across form, preview store, and runtime. - Empty string handling: empty strings are now allowed for string API props when no default is present, and defaults no longer incorrectly override empty strings.
- Text area popup now opens to the clicked prop, not the first in the schema.
- External XML reloading now works automatically on Windows. (#345)
Wrapping Up#
v1.1.2 is a maintenance release, but a substantial one. The editor is more stable, the console is more readable, and resource conversion is smarter. Thanks to everyone who reported bugs and contributed to making LVGL Pro better.
