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

オープン
#1,361 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug help wanted
主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Processing → Preferences から、プライマリディスプレイの上にセカンダリディスプレイを配置した状態で問題を再現し、続いて Run sketches on display 設定をスケッチウィンドウの配置エントリポイントまで追跡します。スケッチが上側の配置にした選択済みのセカンダリディスプレイで開き、既存の左右配置の動作も引き続き機能すれば完了です。レポートではソースファイルやテストを指定しません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, macos
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。