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
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Java
- Sterne
- 494
- Forks
- 183
- Ø Merge
- 4 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem unter Processing → Preferences mit einem sekundären Display oberhalb des primären Displays und verfolge anschließend die Präferenz Run sketches on display bis zum Einstiegspunkt für die Platzierung des Sketch-Fensters. Erledigt ist die Aufgabe, wenn ein Sketch auf dem ausgewählten sekundären Display in der Anordnung oberhalb des primären Displays geöffnet wird und das bestehende Verhalten nebeneinander weiterhin funktioniert; in dem Bericht wird keine Quelldatei und kein Test genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, macos
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100