From: sfeam <sf...@us...> - 2014-02-13 04:54:19
|
On Wednesday, 12 February 2014 10:01:39 PM Mojca Miklavec wrote: > > However if I revert the following commit from > 2014-01-29 Jérôme Lodewyck Postpone show() in QtGnuplotWindow > then the first plot displays just fine and then basically everything > works as expected. > Mojca Based on this and our off-line back and forth debugging, I am pretty sure that the attached patch will fix your problem that the first plot is not drawn. It is, as you say, a partial reversion of the 2014-01-29 patch. I have made it conditional on #ifdef __APPLE__ but see below. Jérôme: On Mojca's machine the viewport size always seems to be equal to the window size on entry. This means that the resize is not performed the first time in the existing code. Couldn't this happen on linux too? Ethan |