New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sketches using the default renderer not grabbing focus by default #3380

Closed
shiffman opened this Issue Jun 12, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@shiffman
Member

shiffman commented Jun 12, 2015

I believe they should? Otherwise the user has to alt-tab out of the sketch and find the stop button.

I'm testing with this code:

void setup() {
  fullScreen();
}

void draw() {
  background(0, 100, 150);
  fill(255);
  ellipse(width/2, height/2, 200, 200);
}

Testing on Mac OS X 10.10.3

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Jun 12, 2015

Member

It's probably a focus problem. If you click in the window it should work. (But certainly a bug since it should be grabbing focus by default.)

Member

benfry commented Jun 12, 2015

It's probably a focus problem. If you click in the window it should work. (But certainly a bug since it should be grabbing focus by default.)

@shiffman

This comment has been minimized.

Show comment
Hide comment
@shiffman

shiffman Jun 12, 2015

Member

Confirmed that ESC does indeed quit the sketch after you click in. Updating the title of this bug report.

Member

shiffman commented Jun 12, 2015

Confirmed that ESC does indeed quit the sketch after you click in. Updating the title of this bug report.

@shiffman shiffman changed the title from sketches with new fullScreen() method do not quit on escape key to sketches with new fullScreen() method should grab focus by default Jun 12, 2015

@benfry benfry added this to the 3.0 final milestone Jun 16, 2015

@benfry benfry changed the title from sketches with new fullScreen() method should grab focus by default to sketches using the default renderer not grabbing focus by default Jun 18, 2015

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Jun 18, 2015

Member

Fixed for the next release (beta 1).

Member

benfry commented Jun 18, 2015

Fixed for the next release (beta 1).

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