Selection rectangle animates while minimized, wasting CPU usage
Environment/Versions
- GIMP Version: 2.10.32
- Operating System: Windows 10 22H2
Issue Description
As long as there is an animated selection rectangle, GIMP will have constant CPU usage to redraw the screen, including the animated selection. But this happens even when the window is minimzed, and has no meaningful reason to perform any drawing.
You can see the CPU usage go down by switching to another tab with no selection, or by removing the selection.
The window should not be redrawing itself when the window is minimized or DWM cloaked. ("DWM Cloaked" means that the window is on a different virtual desktop and has no chance of being visible, see DwmGetWindowAttribute and DWMWA_CLOAKED)