Skip to content

size() not working on Mac Mojave 10.14 and Processing 3.5.3 #5791

@ElPepe101

Description

@ElPepe101

Description

size() not working. It displays to the window size but not at fullscreen.

Seems related to #3381 because when I disabled "Display have separated spaces" option and logged out, it worked as expected.

This already happened with three different macs.

Expected Behavior

size() function should set Processing canvas size.

Current Behavior

It throws an error into console:

Could not check the status of “Displays have separate spaces.”
Received message '2019-02-11 11:28:29.588 defaults[994:57256] The domain/default pair of (com.apple.spaces, spans-displays) does not exist' and result code 1.

Steps to Reproduce

Using settings or setup gives the same result:

void settings() {
  size(200, 300);
}

// or

void setup() {
  size(200, 300);
}

Your Environment

  • Processing version: 3.5.3
  • Operating System and OS version: MacOS 10.14

Possible Causes / Solutions

Dunno.

Meanwhile, disable "Display have separated spaces" option at System Preferences > Mission Control and log out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions