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

Đang mở
#1,361 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug help wanted
Ngôn ngữ chính
Java
Star
494
Fork
183
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề từ Processing → Preferences với một màn hình phụ ở phía trên màn hình chính, sau đó lần theo tùy chọn Run sketches on display đến điểm bắt đầu đặt cửa sổ sketch. Hoàn tất khi một sketch mở trên màn hình phụ đã chọn trong bố cục phía trên màn hình chính, đồng thời hành vi đặt cạnh nhau hiện có vẫn tiếp tục hoạt động; báo cáo không nêu tên tệp nguồn hoặc bài kiểm thử nào.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java, macos
Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.