From: Jérôme L. <lod...@us...> - 2014-02-13 11:13:16
|
Here is a patch that applies on top of CVS. You are right : showing the window should be done regardless on whether the size has changed or not. Jérôme Le 13/02/2014 11:23, Mojca Miklavec a écrit : > Just another observation before I test further: it wasn't just a > problem of first-time plot. It was also *sometimes* a problem of the > first plot after closing the plotting window. But that was > semi-random. Sometimes it worked and sometimes it didn't. This could > have been related to whether a new plot was a different one or not or > maybe related to timing. > > I would say that it's a problem that > if (!parent->isVisible()) > is hidden inside > if (s != viewport->size()) > because the reverse can be true: c may well be equal to > viewport->size(), but parent may not be visible. I don't know the code > well enough, but it looks like parent is not visible whenever I close > the plotting window (or during the initial plot). > > Mojca > |