"run sketches on display" isn't working in 3.0a7 #3264

Closed
jddamas opened this Issue May 11, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@jddamas

jddamas commented May 11, 2015

On 3.0a7 "run sketches on display" isn't working. I've set preferences window on second display and it's drawing on primary monitor with the dimensions of the second monitor. The sketch is below:

void init() {
  frame.removeNotify();
  frame.setUndecorated(true);
  frame.addNotify(); 
  super.init();
}

void setup() {
  size(displayWidth, displayHeight, P3D);
  smooth(8);
  frameRate(30);
  noCursor();
}
@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry May 11, 2015

Member

Will look into it.

But in the meantime, where'd you get that code? That's really dangerous/unsupported stuff that should be completely unnecessary. If you use size(displayWidth, displayHeight, P3D), 3.0a7 should detect that you're trying to run full screen and do all that automatically.

Member

benfry commented May 11, 2015

Will look into it.

But in the meantime, where'd you get that code? That's really dangerous/unsupported stuff that should be completely unnecessary. If you use size(displayWidth, displayHeight, P3D), 3.0a7 should detect that you're trying to run full screen and do all that automatically.

@jddamas

This comment has been minimized.

Show comment
Hide comment
@jddamas

jddamas May 11, 2015

I searched the web for a solution for making the window fullscreen without using present mode (on Yosemite, fullscreen apps running on second monitor make primary monitor go black, and I need the primary monitor for Max MSP). I saw that solution somewhere and it works as it removes the window frame. If I use

void setup() {
size(displayWidth, displayHeight, P3D);
smooth(8);
frameRate(30);
noCursor();
}

only, the window won't go fullscreen (the frame is still there and line(0,0,width,height) won't go from edge to edge - see attached picture). This only happens on secondary monitor.
This is in a5. a7 second monitor isn't working like I said before.

screen shot 2015-05-11 at 23 45 11 2

jddamas commented May 11, 2015

I searched the web for a solution for making the window fullscreen without using present mode (on Yosemite, fullscreen apps running on second monitor make primary monitor go black, and I need the primary monitor for Max MSP). I saw that solution somewhere and it works as it removes the window frame. If I use

void setup() {
size(displayWidth, displayHeight, P3D);
smooth(8);
frameRate(30);
noCursor();
}

only, the window won't go fullscreen (the frame is still there and line(0,0,width,height) won't go from edge to edge - see attached picture). This only happens on secondary monitor.
This is in a5. a7 second monitor isn't working like I said before.

screen shot 2015-05-11 at 23 45 11 2

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry May 11, 2015

Member

Yikes, that's the first I'm hearing about that one. Can you file a separate bug for it?

Member

benfry commented May 11, 2015

Yikes, that's the first I'm hearing about that one. Can you file a separate bug for it?

@benfry benfry changed the title from Run sketches on display 2 to "run sketches on display" isn't workingin 3.0a7 May 12, 2015

@benfry benfry changed the title from "run sketches on display" isn't workingin 3.0a7 to "run sketches on display" isn't working in 3.0a7 May 12, 2015

@benfry benfry closed this in 57753e9 Jun 9, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Jun 9, 2015

Member

All set for 3.0 alpha 10, which includes several other multi-display fixes and some new API to make it simpler.

Member

benfry commented Jun 9, 2015

All set for 3.0 alpha 10, which includes several other multi-display fixes and some new API to make it simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment