Is this a bug to set a screen bg image?

Code

i create a screen object,and a button,then set a bg image ,but it can’t work.use lvgl 7.9
/code like this/
void main_func(void)
{
scr1Screen1 = lv_obj_create(NULL, NULL);
lv_scr_load(scr1Screen1);
lv_disp_set_bg_image(lv_obj_get_disp(scr1Screen1),&img_1);

scr1Button2 = lv_btn_create(lv_scr_act(), NULL);
lv_obj_align(scr1Button2, NULL, LV_ALIGN_IN_TOP_LEFT, 0, 0);
lv_obj_set_pos(scr1Button2, 40, 60);
lv_obj_set_width(scr1Button2, 130);
lv_obj_set_height(scr1Button2, 43);
lv_obj_t* label = lv_label_create(scr1Button2, NULL);
lv_label_set_text(label,“Button”);
}

if i use image control ,it work fine.

void main_func(void)
{
scr1Screen1 = lv_obj_create(NULL, NULL);
lv_scr_load(scr1Screen1);
lv_obj_t *bg_img = lv_img_create(scr1Screen1, NULL);
lv_obj_set_click(bg_img , false);
lv_img_set_src(bg_img ,&img_1);

scr1Button2 = lv_btn_create(lv_scr_act(), NULL);
lv_obj_align(scr1Button2, NULL, LV_ALIGN_IN_TOP_LEFT, 0, 0);
lv_obj_set_pos(scr1Button2, 40, 60);
lv_obj_set_width(scr1Button2, 130);
lv_obj_set_height(scr1Button2, 43);
lv_obj_t* label = lv_label_create(scr1Button2, NULL);
lv_label_set_text(label,“Hello”);
}

Screenshot and/or video

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

try this:
lv_obj_set_style_local_pattern_image(screen,LV_OBJ_PART_MAIN,LV_STATE_DEFAULT,&img_bg);

it work,thanks a lot !!