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

Ouverte
#1,361 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

bug help wanted
Langage dominant
Java
Étoiles
494
Forks
183
Merge moyen
4 h 39 min
PR mergées (30 j)
3

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Reproduisez le problème depuis Processing → Preferences avec un écran secondaire au-dessus de l’écran principal, puis suivez la préférence Run sketches on display jusqu’au point d’entrée du placement de la fenêtre du sketch. Le travail est terminé lorsqu’un sketch s’ouvre sur l’écran secondaire sélectionné dans la disposition au-dessus de l’écran principal, tandis que le comportement existant côte à côte continue de fonctionner ; aucun fichier source ni test n’est cité dans le rapport.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java, macos
Domaine
desktop
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.