#10322·lvgl

[lv_spinner]: after spinning for >1 hour, spinner glitches

Author: Bryght-Labs-RichardCreated Jul 1, 2026Updated Sep 2, 2026
Labelswidgetsesp32

LVGL version

v9.3.0

Platform

Custom ESP32-S3

What happened?

After a long enough time, the start and end spinner phases seem to glitch around, sometimes drawing fully empty unexpectedly and sometimes drawing fully full unexpectedly.

I suppose I expected it to keep spinning, as it had before.

https://github.com/user-attachments/assets/9764789f-179e-4493-9a04-712ea9626f72

How to reproduce?

        auto ui_Spinner = lv_spinner_create(ui_Screen);
        lv_obj_set_width(ui_Spinner, 70);
        lv_obj_set_height(ui_Spinner, 70);
        lv_obj_add_flag(ui_Spinner, LV_OBJ_FLAG_CLICKABLE);
        lv_obj_remove_flag(ui_Spinner, LV_OBJ_FLAG_PRESS_LOCK);
        lv_obj_add_event_cb(ui_Spinner, ui_event_SpinnerClicked, LV_EVENT_CLICKED, NULL);
        //Now wait at least 45 minutes(1 of 5 spinners glitching), overnight is better(all spinners glitching)