-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Whenever I run a sketch using P2D or P3D in Java mode (the sketch below, for example), I now get these messages in the Processing console:
0 AppKit 0x00007fff430aa7eb -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 378
1 AppKit 0x00007fff430a7bdb -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1479
2 AppKit 0x00007fff430a760e -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
3 libnativewindow_macosx.jnilib 0x00000001407103fe Java_jogamp_nativewindow_macosx_OSXUtil_CreateNSWindow0 + 398
4 ??? 0x0000000115af3a88 0x0 + 4658772616
)
This happens whether I use size(h,w,P2D) or fullScreen(P2D). These messages do not appear when I'm using the default renderer. I don't know if the messages actually represent errors, but this sort of console output is not something I remember seeing previously. Aside from this odd console output, the sketch otherwise runs as expected in Java mode.
I'm running Processing 3.53, MacOS Mojave 10.14.5, Java 8 update 211. I've tried this and seen the same results on various Mac machines, including both new & older MacBook Pros and Mac Pro / trashcan.
I'm posting this here because I suspect it may be related to a more serious problem I'm experiencing when trying to run a version of this (or any) sketch in Processing.py.
It also looks as though it might have something to do with this issue, which emerged under Mac Mojave 10.14 and Processing 3.5.3 as well.
Here's a sketch that will generate the messages above:
float k;
void setup() {
size(320,240,P2D);
fill(80);
stroke(0,255,0,127);
strokeWeight(4);
k = 0;
}
void draw() {
k += .06;
if (k > TWO_PI) {
k = 0;
}
background(0);
arc(width/2, height/2, 200, 200, HALF_PI, k+HALF_PI);
}