Theory/Runtype Details open at the screen's top-left corner, then jump next to the editor
还没有人认领这个 Issue。
评估
调研方向
Read the scripts/codereg/*theory.py and *runtype.py entry points to see how the details windows are started and positioned. Reproduce the behavior with the screen recording at 45–54 seconds, then check the headless test described in the issue: start a window with a given editor position and confirm its position stays fixed through the first second.
由索引模型根据 Issue 内容生成。
描述
9.0.0-beta.1, Debian 13 (GNOME, X11). Clicking Theory Details... in the Calculation Editor (ORCA) opens the window in the top-left corner of the screen, over the Organizer. The user moves the mouse there to use it; a few seconds later the window jumps to a new position next to the editor, and the user has to follow it. Seen in a screen recording (45–54 s).
Likely cause: the details windows are separate Python (wxPython) programs (scripts/codereg/*theory.py, *runtype.py). They are shown before they know where the editor is, and placed once they do.
Fix: pass the editor's position and size when the details window is started (an argument or environment variable), and create the window at its final place, centred on the editor, before it is first shown. Same for every code's Theory and Runtype Details.
Check: a headless test that starts the details window with a given editor position and reads the window's position before and after its first second; it must not move.
- 主要语言
- C
- 星标
- 10
- 派生
- 8
- 平均合并
- 21 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FriendsofECCE/ECCE 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
FriendsofECCE/ECCE#353 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
FriendsofECCE/ECCE#336 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
FriendsofECCE/ECCE#355 ·
-
Icons in MacOS未关闭enhancement
难度 5/5 一周以上 新手友好度 18/100
FriendsofECCE/ECCE#354 · 4 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
FriendsofECCE/ECCE#351 ·
查看 FriendsofECCE/ECCE 的全部 Issue
相似的 Issue
-
VIEW_TYPE set for computer players可能已有人在做 @Loobinex 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
bug
难度 2/5 1 小时以内 新手友好度 78/100
brunodev85/winlator-app#90 ·
-
documentation
难度 2/5 1-3 小时 新手友好度 85/100
grayscale-lang/grayscale#3133 ·
维护者通常 1 天内回复