Rendering artifact when part of label goes off-screen


A rectangular bar appears near the bottom of the screen when label text falls outside of the visible screen area. The length of the bar decreases as more of the text is outside of the screen boundaries.

We are using lvgl-8.0.2

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

MAX32672 (Cortex-M4F) EV Kit (not currently public)

What do you want to achieve?

Eliminate rendering artifact

What have you tried so far?

Enabled all internal consistency checks, nothing noted.

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

#define LV_COLOR_DEPTH     16
#define LV_FONT_UNSCII_8        1
#define LV_FONT_DEFAULT &lv_font_unscii_8

  /* Generate a text label to bounce around the screen */
  label1 =  lv_label_create(lv_scr_act());
  lv_label_set_text(label1, "Test\nLonger Line");
  lv_obj_set_style_text_align(label1, LV_TEXT_ALIGN_CENTER, 0);

  /* Later on -- let x := {-20, 30} and y := {-50, 25} */
  lv_obj_set_pos(label1, x, y);

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

I removed the virtual LEDs – no change.
I changed LV_TXT_ENC to LV_TXT_ENC_UTF8 – no change.


Please ignore this “issue”. A wiser programmer just mentioned that it is probably a scroll bar. :-\