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

Offen
#1,361 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug help wanted
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

Image

Attempting to open on secondary display (not shown)

Image

Display arrangement

When the secondary display is positioned above the primary display, the issue occurs:

Image

When the displays are positioned side by side, sketches open on the selected display as expected:

Image
Steps to reproduce this
  1. Plug in a second monitor
  2. Open System Settings → Displays → Arrange
  3. Position the secondary display above the primary display
  4. Open Processing → Preferences
  5. Set "Run sketches on display" to the secondary display
  6. 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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.