Community
Participate
Working Groups
Created attachment 79832 [details] snippet demonstrating issue Build ID: I20070323-1616 More information: When running Vista's Aero interface, A GC fillGradientRectangle(...) call will take a second or more to paint, slowly filling specified region from top to bottom. In the snippet, it appears that all the controls in the region are repainted as soon as fillGradientRectangle completes, with the end result that the gradient rectange is painted slowly and then disappears.
What is the bug? The slowness? You are drawing on the screen and then redrawing the controls, erasing the gradient.
Please add Time.currentTimeMillis() to benchmark the slowness. What effect are you trying to get?
Ok, I get it. You want to draw a gradient on top of the controls (sorry, I saw the clear code and thought you were calling it when you were drawing the gradient). I'm not sure why the controls redraw.
Created attachment 79835 [details] better snippet I pared down the snippet to only show the gradient issue; the average times for the various window appearances: windows classic - 8ms windows standard - 7ms vista basic - 7ms (but with more variance) vista aero - 310ms
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.