LVGL arc control image not displaying, still showing default color

LVGL’s arc widget—I’m using image rotation, but it’s not displaying; it still shows the default blue arc. What could be the reason? It works fine on the LVGL simulator.

Not quite sure about your question, could you please share the code so I can take a look?

The code is directly generated by SquareLine Studio.

gui.zip (79.8 KB)

It seems to be an issue with the LVGL library, not properly adapted. Displaying standalone images works fine, but arc controls fail to render and still show the default color.

Is this the title2 one? It seems to be working fine on my board!
746f702d4c9bb39df0fecd3925dd139c_compress

Is it this? Why isn’t it working for me? Are you using LVGL 8? I modified the LVGL 8 version for watch.

There are too many files in watch; I suggest using v8example/v8demo as a framework to draw content. I’ve tested it in both v8example and v8demo, and they work. Simply place the .c and .h files you generated in the same directory as main.c, and make sure LV_USE_THEME_DEFAULT is enabled.

This indeed works, but I don’t understand the reason behind it.

It has been identified that the issue is caused by a conflict between LV’s style configuration and our custom styles.
For example, both “example” and “demo” use LV’s software rendering, so there are no conflicts. However, “watch” has hardware rendering acceleration enabled, which applies the custom styles. This difference can also be seen in the background: the default LV style has a white background, while the custom style uses a black background.
The conflict has now been resolved.

Alright, from which version is the modification, and which version needs to be re-downloaded?

main branch, commit SHA:
9729848
Updating the SDK to the latest node should be sufficient

1 Like