processing / processing/processing4
"Run sketch on display" fails to place window on secondary display on macOS when the sketch window would have to cross the task bar
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 494
- Fork
- 183
- Merge medio
- 4h 39m
- PR unite (30g)
- 3
Descrizione
Most appropriate sub-area of Processing 4?
I'm not sure
Processing version
4.4.10
Operating system
macOS 15.6.1 (24G90)
Bug description
On macOS, the Run sketches on display preference fails to place the sketch window on a secondary display when that display is positioned above the primary display in the system display arrangement.
Instead of appearing on the selected display, the sketch window opens on the primary display, right below the task bar.
I suspect Processing attempts to position the window on the secondary display but it gets stuck against the task bar.
Preferences
Opening on Primary display
Attempting to open on secondary display (not shown)
Display arrangement
When the secondary display is positioned above the primary display, the issue occurs:
When the displays are positioned side by side, sketches open on the selected display as expected:
Steps to reproduce this
- Plug in a second monitor
- Open System Settings → Displays → Arrange
- Position the secondary display above the primary display
- Open Processing → Preferences
- Set "Run sketches on display" to the secondary display
- Run any sketch
snippet
n/a
Additional context
No response
Would you like to work on the issue?
No, I’m just reporting the issue
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema da Processing → Preferences con un display secondario sopra quello primario, quindi segui la preferenza Run sketches on display fino al punto di ingresso per il posizionamento della finestra dello sketch. Il lavoro è completato quando uno sketch si apre sul display secondario selezionato nella disposizione sopra quello primario, mentre il comportamento esistente affiancato continua a funzionare; nel report non viene indicato alcun file sorgente né alcun test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, macos
- Ambito
- desktop
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100