(on Windows 10, JUCE 9/master - 10/12/26 - 454fe891acc8204f99f4ef1e3a28c84b1a4da145)
When I maximize my window, I first see the containing window resize, and a white rectangle in the middle which is the size of the previous content, with the previous content still in the upper left corner (image 1). Then the upper left corner is filled with the white rectangle with the size of the previous content, and the containing window is now filled the resize content (image 2). Ignore the dark black areas, as that is just redacted content not relevant to the issue, excepting that they are cards with images with text details. Am I doing something wrong, is this a known issue, can I do something to fix it?
This is one of those issues that becomes almost invisible in a Release build. So my take away is that something in the drawing is running dramatically slower in Debug (expected), but is it the underlying render code, or my drawing? The obvious thing for me to do is some profiling.
I’ve checked a bit this afternoon on my D2D branch with claude code and I don’t think we can do a lot better.
I ve tried the flutter way which paint to the new dimension while resizing but it can leads to more issue.
a minor fix would be to use the container background colour but I’m not even sure it’s better.
FWIW this happens in other app as well.