full screen bug with few device
@catilac y travaille déjà.
Depuis le 9/6/2026.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
Processing 4.5.2
Operating system
MacOS Tahoe 26.4.2
Bug description
With my Video Projector BenQ PJ in fullscreen() in P3Dand in P2D the window is place on the main screen.
In classic mode that's ok.
May be it's due from my VP because this one is old, I don't know. The definition of my VP is 1920x1080
To fix it I use this code :
import java.awt.GraphicsEnvironment;
import java.awt.GraphicsDevice;
import java.awt.Rectangle;
int target_screen = 2;
void setup() {
fullScreen(P3D,target_screen);
secure_screen_place(target_screen);
}
void secure_screen_place(int target) {
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] devices = environment.getScreenDevices();
Rectangle rect = devices[this.display -1].getDefaultConfiguration().getBounds();
surface.setLocation(0,0);
int x = (int)rect.getX();
int y = (int)rect.getY();
println("repositionnement", x, y);
surface.setLocation(x,y);
}
For an unknown reason it's necessary to set in first the location to zero before move to goal position.
May be it's linked to
https://github.com/processing/processing4/issues/1518
https://github.com/processing/processing4/issues/1426
I fix this bug in Processing If you're interested I can push it !!!
But it's more an hack, because It's hard to manage the variable between the static and the non static class PApplet and PSurface
- Langage dominant
- Java
- Étoiles
- 497
- Forks
- 183
- Merge moyen
- 4 h 39 min
- PR mergées (30 j)
- 3
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de processing/processing4
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
processing/processing4#1554 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
processing/processing4#1515 · 1 réaction ·
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
processing/processing4#1573 ·
-
startup error Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
processing/processing4#1569 · 7 commentaires ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Ouvertebug
processing/processing4#1567 · 3 commentaires · 1 réaction · 1 personne assignée ·
Toutes les issues de processing/processing4
Issues similaires
-
certification
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Ouvertebug ecr
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Needs: Triage Type: Feature request
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
github/copilot-sdk#2760 ·