|
From: Mojca M. <moj...@gm...> - 2014-02-13 10:23:22
|
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
|