Focus times out on a restored window while another window of the same app is key
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 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 の本文から書いたものです。
説明
Found in the githubnext/ace#427 R2 re-check on Ace Canary 0.0.46.52 (desktop-tools 4618b33).
Steps:
- TextEdit had two windows: 12773 "Untitled", which opened by itself at launch, and 12781 "Untitled 2", the agent's document.
- The agent typed lines 1–5 into 12781.
- A lead script minimized 12781. 12773 became key.
desktop_restoreon 12781 worked. #22's re-read held; no false unknown.desktop_focuson 12781 was refused with "Timeout while waiting for condition", with nothing sent.- A
desktop_clickin 12781's empty text area didn't make it key. desktop_activateon TextEdit, thendesktop_focuson 12781, was refused the same way.
So the agent couldn't continue (desktop_insert needs the target window to have keyboard focus) and stopped cleanly at line 5.
Expected: focus raises and keys a restored, on-screen window of an already active app, or refuses with a reason the agent can act on. "Timeout while waiting for condition" doesn't say which condition.
Leads:
- Whether the focus postcondition waits on AXMain or AXFocused of a window that was just deminiaturized.
- Whether the raise is sent to the app while the other window stays key.
- Compare with the restore race fixed in #22.
The agent's caption called it a "permission denial", which it wasn't.
- 主要言語
- Swift
- スター
- 0
- フォーク
- 0
- 平均マージ
- 15分
- マージ済み PR(30日)
- 94
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/desktop-tools のほかの issue
-
ace documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
githubnext/desktop-tools#104 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
githubnext/desktop-tools#75 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
githubnext/desktop-tools#42 · コメント 29 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
githubnext/desktop-tools#27 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
question
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
githubnext/desktop-tools#24 ·
メンテナーはふだん 1 日以内に返信
githubnext/desktop-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
googleapis/google-cloud-swift#1477 ·
メンテナーはふだん 1 日以内に返信
-
product / auth product / console product / databases product / messaging product / self-hosted product / sites product / storage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
P1 status: first-line-handled status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
a2ui-project/a2ui#3282 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
element-hq/element-x-ios#6357 ·
メンテナーはふだん 1 日以内に返信