toverainc/willow

LVGL rapid loops on scroll after many longer than display width text lines

kristiankielhofner opened this issue · 5 comments

When doing testing for commands that fail intent match in HA I've observed a rapid loop on the display for long lines that need to scroll. This tends to occur after around 70 test loops.

As of commit a257314 in the feature/was branch, we should retest enabling text scrolling. We will do this after merging feature/was into main and tagging our first pre-release.

Unfortunately 5c5dad6 reintroduces this behaviour.

Some things to try:

  • reproduce with default LVGL font instead of Willow custom font
  • bump esp_lvgl_port to 1.3.0
  • bump lvlgl to 8.3.9
  • IDF 5.0/5.1

I can confirm the issue still persists within 70 test loops with the default built-in font. I will try lvgl_port and LVGL bumps now.

It appears having > 1 line of text with scrolling enabled reliably reproduces the issue for me.

E.g. this long and unsupported HA command:
How many lights are on in office?
With the following response:
Sorry, I couldn't understand that.

Both these lines are too long to fit on the display and that seems to trigger this bug every time.