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
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 497
- 派生
- 183
- 平均合并
- 4 小时 39 分钟
- 30 天内合并 PR
- 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
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 Processing → Preferences 重现问题:将次要显示器置于主要显示器上方,然后跟踪 Run sketches on display 偏好设置,直到 sketch 窗口放置的入口点。完成标准是:sketch 在所选的次要显示器上、以位于主要显示器上方的布局打开,同时现有的并排行为继续正常工作;报告中不指明源文件或测试。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, macos
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100