On Thu, May 12, 2011 at 08:19:11AM -0700, Manolo Gouy wrote:
> I can't reproduce the bug with the last svn.
> I use the test file test/device.cxx, and replace its line #727
> w2->show(argc, argv);
> by
> w2->iconize();
> Then the program starts correctly with an iconized window.
>
> If I replace this line by the two lines:
> w2->iconize();
> w2->show(argc, argv);
> the program starts correctly with a mapped window.
>
> Also, your patch proposes to add one statement as follows:
> if (showit) {
> win->set_visible();
> int old_event = Fl::e_number;
> win->handle(Fl::e_number = FL_SHOW); // get child windows to appear
> Fl::e_number = old_event;
> win->redraw();
> }
> else win->clear_visible(); // added statement
>
> But this added statement does nothing because before if (showit),
> win->visible() is off.
It appears that you are right and I am wrong.
Has the win->visible always been off by default?
You may close this STR.
Kurt
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs