full screen bug with few device
@catilac ya está trabajando en esto.
Desde el 9/6/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- Java
- Estrellas
- 497
- Forks
- 183
- Merge medio
- 4 h 39 min
- PR fusionados (30 d)
- 3
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de processing/processing4
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
processing/processing4#1554 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
processing/processing4#1515 · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
processing/processing4#1573 ·
-
startup error Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
processing/processing4#1569 · 7 comentarios ·
-
Binaries under bin directory lack executable permissions for the snap and .deb packages for Linux Abiertobug
processing/processing4#1567 · 3 comentarios · 1 reacción · 1 asignado ·
Todos los issues de processing/processing4
Issues similares
-
bug untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
opensearch-project/ml-commons#5094 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
emitter:client:csharp feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Abiertobug frontend maui-pilot
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100