On Mon, Jul 12, 2010 at 6:39 PM, João Luís Silva <jsi...@fc.up.pt> wrote: > > > John Hunter wrote: >> >> On Mon, Jul 12, 2010 at 5:58 PM, João Luís Silva >> <jsilva-bxeiay08...@public.gmane.org> wrote: >>> >>> Hi, >>> >>> I've finally created a small script that demonstrates a bug that I've >>> been >>> enduring for a long time. I haven't seen it reported before, so I may be >>> doing something wrong. The bug is as follows: Under certain conditions, >>> in >>> an embedded gtk application, when selecting an area with the "Zoom to >>> rectangle" button from the toolbar the whole graph will jump upward >>> temporarily, corrupting the screen and making it hard to select the >>> proper >>> area. The attached example is an extreme version of this (the effect >>> would >>> be smaller for a reasonably sized combo box). >>> >>> Tested on Linux (Debian Squeeze). >> >> >> You have this line: >> >> from widgets import Widgets >> >> what is "widgets" ? >> >> JDH >> > > Sorry, I forgot to delete it. It's just a small helper class I use to load > files from glade. By the way, I just tested the script on Windows (after > deleting that line) and it doesn't have the bug (Python 2.5 + mpl 1.0.0)
I also see buggy behavior, but on my ubuntu linux system I see that the whole subplot gets painted black on a mouse press and remains so while the rubber-banding is in effect. It's not strictly black, but it looks like blackish bit noise. I also notice if I don't add the combobox to the vbox, I have no problem. But I don't see that the "plot moves".... It;s somewhat reminiscent of this pixel noise I once reported working on another gtkagg problem. Interestingly, I'm seeing the same behavior with backend gtk and gtkagg. All of which is discouraging: we both see bugs but different ones on linux, the appearance of the bug is caused by adding a combobox which is not used (on my system), the bug appears on some platforms (linux) but not others (win) and it appears for both gtk and gtkagg. JDH http://old.nabble.com/gtkagg-pixel-buffer-bug-td18051692.html ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users