Re: [gtkmm] Re: gtkmm 2.4 or gtk 2.4 bug



Er, no. I might be able to try that today. Glad to see its not just a
windoze thing!

Diana

On Fri, 2004-10-01 at 02:26, Cedric Gustin wrote:
> Diana Esch-Mosher wrote:
> > On vmware (windows XP professional)
> > 
> > A bug! I have attached an example that clearly demonstrates the problem.
> > Compile as g++ drawingarea.cc -o test `pkg-config gtkmm-2.4 --cflags
> > --libs`
> > 
> > This is just the drawingarea example with 
> > 
> >  std::cout << "getting color" << std::endl;
> >  Glib::RefPtr<Gdk::Colormap> colormap = get_default_colormap ();
> >  blue_ = Gdk::Color("blue")
> >  red_ = Gdk::Color("red");
> >  colormap->alloc_color(blue_);
> >  colormap->alloc_color(red_);
> > 
> > added to the expose event (was cloned from realize event).
> > 
> > Lay another window on top and just toggle between to cause expose event.
> > On the 23rd time it dies with 
> > 
> > Gdk-WARNING **: gdkcolor-win32.c:111: DeleteObject failed: Not enough
> > storage is available to process this command.
> > 
> > Very repeatable on 23rd event ....
> > 
> > Don't have 2.4 on linux yet, so can't try it there.
> 
> Crashes on Fedora Core 2 (linux-2.6.8) after the 46th event. This is 
> against the recently released gtkmm-2.4.5 rpms from fedora.us.
> 
> Did you try with a similar example written only with the GTK+ C API ?
> 
> Cedric
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
-- 
Diana Esch-Mosher <desch-mosher lanl gov>
Los Alamos National Laboratory




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]