Hiding/Unhiding Spinner Widget Causes Visual Glitches


Hi, been using LVGL on a CYD (Cheap Yellow Display - ESP32 2432S028) in ESP-IDF for a little while and had decent success. However, trying to put together a loading screen with the spinner widget has been an issue.

My goal is to error handle by hiding the spinner and showing messages. However, often when I hide the spinner and unhide text in that position, the spinner does not completely hide, leaving screen glitches and issues in that area.

It happens sporadically, so finding the exact cause for it has been difficult. I am only having this problem with hiding and unhiding the spinner, anything else (panels/text) works great.

The spinner (and all my other UI) was created using squareline.


What MCU/Processor/Board and compiler are you using?

CYD (Cheap Yellow Display - ESP32 2432S028) with VSCode ESPIDF.

What LVGL version are you using?


What do you want to achieve?

I want to be able to hide and unhide the spinner widget cleanly, without leaving visual artifacts/glitches behind.

What have you tried so far?

I’ve tried calling the timer handler immediately after hiding the spinner, adding delays, leaving the spinner unhidden and simply adding a panel on top. All result in the same visual issues on the area where the spinner is placed.