You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/10/09 02:04:58 UTC

(maka) branch probe/native-dialogs updated: chore(probe): dump the Electron AT-SPI subtree on Linux

This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch probe/native-dialogs
in repository https://gitbox.apache.org/repos/asf/maka.git


The following commit(s) were added to refs/heads/probe/native-dialogs by this push:
     new 52598f7203 chore(probe): dump the Electron AT-SPI subtree on Linux
52598f7203 is described below

commit 52598f72033820d29f1808c952eac4c3e63ca890
Author: AstroHan <le...@outlook.com>
AuthorDate: Fri Oct 9 12:04:51 2026 +1000

    chore(probe): dump the Electron AT-SPI subtree on Linux
    
    Generated-by: Claude Code
---
 .github/workflows/windows-baseline.yml     | 2 +-
 scripts/native-dialog-probe/drive-linux.py | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/windows-baseline.yml b/.github/workflows/windows-baseline.yml
index 94495f0bf0..399436017f 100644
--- a/.github/workflows/windows-baseline.yml
+++ b/.github/workflows/windows-baseline.yml
@@ -38,7 +38,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [windows-latest, ubuntu-latest]
+        os: [ubuntu-latest]
     steps:
       - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
         with:
diff --git a/scripts/native-dialog-probe/drive-linux.py b/scripts/native-dialog-probe/drive-linux.py
index 9cf67178ba..1e0378f7e6 100644
--- a/scripts/native-dialog-probe/drive-linux.py
+++ b/scripts/native-dialog-probe/drive-linux.py
@@ -84,6 +84,11 @@ def answer(button_name, shot):
             for i in range(desktop.get_child_count()):
                 app = desktop.get_child_at_index(i)
                 apps.write(f"{app.get_name()!r} pid={app.get_process_id()} children={app.get_child_count()}\n")
+                for node, depth in walk(app, 1):
+                    try:
+                        apps.write(f"{'  ' * depth}{node.get_role_name()} {node.get_name()!r}\n")
+                    except Exception:
+                        continue
         raise SystemExit(f"AT-SPI did not expose a button named {button_name!r}")
     dialog = dialog_of(button)
     with open(os.path.join(OUT, "atspi-tree.txt"), "a", encoding="utf-8") as tree:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org