|
From: Mojca M. <moj...@gm...> - 2012-08-22 15:00:43
|
On Wed, Aug 22, 2012 at 4:10 PM, Daniel J Sebald wrote: > On 08/22/2012 04:05 AM, Mojca Miklavec wrote: >> >> gnuplot_qt[69041]<Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: >> WID -1 >> gnuplot_qt[69041]<Error>: kCGErrorFailure: Set a breakpoint @ >> CGErrorBreakpoint() to catch errors as they are logged. >> gnuplot_qt[69041]<Error>: kCGErrorIllegalArgument: >> CGSSetWindowShadowAndRimParametersWithStretch: Invalid window >> 0xffffffff >> >> But printing is not critical. > > The _CGSFindSharedWindow WID -1 sure would make one think it might be a > fork() issue. Fork is supposed to replicate the current process > stack/state, but perhaps that doesn't apply to what is happening in the Qt > library. Maybe another Qt initialization needs to be done for the forked > process? Just guessing. Ideally one could probably avoid forking altogether. (I believe that Qt is powerful enough to handle key events properly, but it's pointless to speculate without trying to write the code.) So until someone knowledgeable steps up (like for broken wxt on mac), this remains a mystery ;) Mojca |