Skip to content

lv_xml_load_all_from_path is unable to correctly handle the dependencies between the XML files when dynamically loading. #422

Description

@ShenRen

My development environment:
mac m3
lvgl v9.5
lvgl pro editor v2.0.2

The implementation of the function "lv_xml_load_all_from_path" seems to be a simple recursive traversal of the files in the directory and an attempt to parse all xml-format files.

The sorting rule of the underlying file system of lv_fs, if folders are listed first, will cause the globals.xml file in the lvgl_pro_editor project to be parsed and loaded last, resulting in the files in the components and screens folders being unable to reference resources such as styles, images, and fonts.

And the extensions, inheritance, and references between components, between components and the screen, and between screens will all become invalid.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions