Using bar with rounded ends with mono theme on monochrome display

Description

Whenever I set the radius of LV_PART_INDICATOR to something other than 0, the bar is not visible on my display.

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

STM32U575

What LVGL version are you using?

9.1.1

What do you want to achieve?

I would like to have a bar indicator with rounded ends instead of square ends displayed on my screen.

What have you tried so far?

I have tried defining a separate bar style for my bar, with and I’ve tried setting the radius for that style to my desired radius (4); When I apply that style to my bar object with LV_PART_MAIN, there is no change from the default appear to the bar, the edges are square. When I apply my style to the LV_PART_INDICATOR of the bar, the bar is no longer visible on my display.

Code to reproduce

/*Bar is same as default*/
    static lv_style_t bar_style;
    lv_style_init(&bar_style);
    lv_obj_t * level_bar = lv_bar_create(status_tile[tile_index]);

    lv_style_set_bg_opa(&bar_style, LV_OPA_COVER);
    lv_style_set_radius(&bar_style, 4);

    lv_style_set_line_rounded(&bar_style, true);

    /* If the argument here is LV_PART_INDICATOR, the bar is not visible. */
    lv_obj_add_style(level_bar[tile_index], &bar_style, LV_PART_MAIN);

I figured it out, the issue was that I had defined LV_DRAW_SW_COMPLEX 0 in lv_conf.h. When I changed the definition to 1, I was able to get rounded edges.