Focus is refused on a just-restored window while another window of the same app is key
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- macos, swift
研究方向
Start by reproducing the sequence with two TextEdit windows: minimize one, make the other key, restore the minimized one, then call desktop_focus. The payload names no source files, so locate the focus postcondition that times out and check whether it waits on AXMain or AXFocused of a just-deminiaturized window. Compare it with the restore race fixed in #22. Done means desktop_focus either keys the restored window or fails with a specific, actionable reason.
由索引模型根據 Issue 內容生成。
描述
Bug: an agent can't focus a TextEdit window it has just restored while another TextEdit window is key. desktop_focus was refused with "Timeout while waiting for condition", so the agent couldn't type into its document.
Status: #61 may have fixed this. Focus now also trusts AXFocusedApplication, and replaces the bare timeout with activationNotObserved, which names the app. Nobody has rerun the scenario since.
To do:
- Rerun the scenario. Open TextEdit with two windows. Minimize the agent's window, so the other one becomes key. Then call
desktop_restoreanddesktop_focuson the agent's window. - If focus completes, also check that a
desktop_clickin that window makes it key, then close this issue. - If focus is refused with
activationNotObserved, add anAXFrontmostfallback to focus, like the onedesktop_activatehas.
Original report: githubnext/ace#427 R2, on Ace Canary 0.0.46.52.
- 主要語言
- Swift
- 星號
- 0
- 分支
- 0
- 平均合併
- 39 分鐘
- 30 天內合併 PR
- 162
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
githubnext/desktop-tools 的其他 Issue
-
Accessibility inspect returns far-offscreen elements, blowing the budget on long pages可能已有人在做 @iamnbutler 今天認領。 未關閉
難度 4/5 3-5 天 新手友好度 48/100
githubnext/desktop-tools#178 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 15/100
githubnext/desktop-tools#143 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 42/100
githubnext/desktop-tools#129 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 8/100
githubnext/desktop-tools#5 · 11 則留言 ·
維護者通常 1 天內回覆
查看 githubnext/desktop-tools 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
521xueweihan/HelloGitHub#4101 ·
-
難度 1/5 1 小時以內 新手友好度 85/100
element-hq/element-x-ios#6405 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
apple/coreai-models#380 ·
維護者通常 1 天內回覆
-
Bug 🐞
難度 2/5 1-3 小時 新手友好度 66/100
mozilla-mobile/firefox-ios#36278 ·
維護者通常 1 天內回覆
-
product / auth product / console product / sites product / storage
難度 1/5 1 小時以內 新手友好度 84/100
維護者通常 1 天內回覆