noreply at rubyforge.org
2007-Mar-03 11:32 UTC
[Wxruby-development] [ wxruby-Bugs-9004 ] Painting Problems on Windows
Bugs item #9004, was opened at 2007-03-03 11:32 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=9004&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: James Randall (capnkroaker) Assigned to: Kevin Smith (qualitycode) Summary: Painting Problems on Windows Initial Comment: I believe this is related to bug 6234 as I first came across it in a scrolled window myself but it occurs in all painting events I believe. I''m using the wxRuby2 preview release (0.0.38). I''m mostly using wxRuby on a Mac and Windows and the problem has only occurred on Windows. Essentially once you send a refresh command to a control with a evt_paint handler it seems to go into a loop whereby the control is constantly told to repaint itself. This generally causes a quick crash due to the garbage collection problems on Windows but if you disable the garbage collection you get the issue I describe. I''ve attached some sample code that illustrates the problem. (and thanks for your work on wxRuby - its a very useful library) ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=9004&group_id=35
Seemingly Similar Threads
- [ wxruby-Bugs-14322 ] Multiple warnings, especially @__painting__
- [ wxruby-Bugs-7681 ] frequent GC-related segfaults on Win32
- [ wxruby-Bugs-7386 ] Setting Gauge background/foreground colours in wxruby2-preview
- [ wxruby-Patches-14375 ] bigdemo/wxScrolledWindow - paint bug with scrolled window
- [ wxruby-Bugs-6234 ] ScrolledWindow very messed up on Windows