I have a canvas (subclass) in a window, and items ( subclasses of group2d ) are drawn in the canvas.
I have a command that change the behavior the items are drawn in a contextual menu of the canvas
I call refresh, from the canvas, or even truewindow.refresh but the items does not get redrawn.
invalidate does the same
if I resize the window, or even minimize it, they do not get redrawn…
if I then click on my items, they are redrawn as I want
what did I miss not being able to redraw my items ?