full screen bug with few device
@catilac 已經在處理了。
開始於 2026年6月9日。
評估
這個 Issue 還沒有評估資料。
描述
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
Processing 4.5.2
Operating system
MacOS Tahoe 26.4.2
Bug description
With my Video Projector BenQ PJ in fullscreen() in P3Dand in P2D the window is place on the main screen.
In classic mode that's ok.
May be it's due from my VP because this one is old, I don't know. The definition of my VP is 1920x1080
To fix it I use this code :
import java.awt.GraphicsEnvironment;
import java.awt.GraphicsDevice;
import java.awt.Rectangle;
int target_screen = 2;
void setup() {
fullScreen(P3D,target_screen);
secure_screen_place(target_screen);
}
void secure_screen_place(int target) {
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice[] devices = environment.getScreenDevices();
Rectangle rect = devices[this.display -1].getDefaultConfiguration().getBounds();
surface.setLocation(0,0);
int x = (int)rect.getX();
int y = (int)rect.getY();
println("repositionnement", x, y);
surface.setLocation(x,y);
}
For an unknown reason it's necessary to set in first the location to zero before move to goal position.
May be it's linked to
https://github.com/processing/processing4/issues/1518
https://github.com/processing/processing4/issues/1426
I fix this bug in Processing If you're interested I can push it !!!
But it's more an hack, because It's hard to manage the variable between the static and the non static class PApplet and PSurface
- 主要語言
- Java
- 星號
- 513
- 分支
- 183
- 平均合併
- 4 小時 6 分鐘
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
processing/processing4 的其他 Issue
-
`Processing lsp` never exits and leaves orphaned processes可能已有人在做 @overcast302 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 72/100
processing/processing4#1578 · 1 則留言 ·
-
bug
難度 2/5 1-3 小時 新手友好度 64/100
processing/processing4#1554 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 76/100
processing/processing4#1515 · 1 個 reaction ·
-
bug
難度 3/5 1-2 天 新手友好度 55/100
processing/processing4#1573 · 3 則留言 ·
-
startup error未關閉
難度 4/5 3-5 天 新手友好度 25/100
processing/processing4#1569 · 7 則留言 ·
查看 processing/processing4 的全部 Issue
相似的 Issue
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)可能已有人在做 @dadiyang 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mix可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 74/100
apache/rocketmq-dashboard#6110 ·
維護者通常 4 天內回覆
-
Feature:Resolution
難度 2/5 1-3 小時 新手友好度 72/100
intellij-elixir/intellij-elixir#4396 ·
維護者通常 1 天內回覆
-
Python 3.15 support可能已有人在做 @amnesiaof 今天認領。 未關閉L: python L: python:uv
難度 2/5 1-3 小時 新手友好度 72/100
dependabot/dependabot-core#16524 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug needs triage
難度 2/5 1-3 小時 新手友好度 72/100
PlayersCommittee/gemp-swccg-public#1174 ·
維護者通常 2 天內回覆