forked from processing/processing4
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Most appropriate sub-area of Processing 4?
Other (specify if possible)
Processing version
p5.js mode 0.6
Operating system
MacOS 15.2
Bug description
In p5, you can call fullscreen(true) to enter fullscreen mode. Currently, calling this doesn't do anything in p5.js mode.
Steps to reproduce this
Test this sketch:
function setup() {
createCanvas(windowWidth, windowHeight);
fullscreen(true);
}
function windowResized() {
resizeCanvas(windowWidth, windowHeight);
}
function draw() {
background(200);
circle(width/2, height/2, 50);
}It should immediately enter fullscreen, but it does not.
snippet
No response
Additional context
We currently set fullscreen conditionally based on an environment variable, but even if we start not fullscreen, fullscreenable is required in the BrowserWindow settings to allow this to work.
Would you like to work on the issue?
Yes, I’d like to help with this
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working