Issue with Control sets in Linux

I create a variable number of buttons by using a Control Set containing one button, and then adding buttons to it as needed, as the app runs. These are in effect radio buttons, with one “pressed” and the other not. On macOS/Win I use Invalidate() to get a button repainted, as necessary. This approach works well here.

On Linux, however, the paint event is never called. So although the buttons are present, they are not visible. I know the buttons are actually there, as clicking where a button should be has the appropriate effect.

The Invalidate() does happen; I’ve stepped through that with the debugger. So what is it about this setup that causes it to fail under Linux?

I remember now that I submitted a case for this: feedback://showreport?report_id=58734

And it was marked: Reproducible on 20th Feb this year. So what’s the story?

1 Like