Skip to content

Dioxus macOS desktop launch can run headless or without AX windows outside GUI launch path #25

Description

@dirvine

Summary

During studio/macOS UI testing, the Dioxus desktop bundle could run as a process while exposing no visible/controllable app window when launched from SSH/System Events. Launching from the studio GUI Terminal produced a visible window, but the process still reports zero accessibility windows, which blocks reliable Computer Use/AX automation.

Environment

  • Studio host: studio1@studio1.local
  • Patched bundle: /Users/studio1/Applications/CommunitasDioxus-Patched.app
  • Executable: Contents/MacOS/communitas-dioxus
  • Bundle id: com.maidsafe.communitas
  • x0x studio daemon: 0.21.2, healthy

Evidence

Initial running process was stale/non-patched:
/Users/studio1/Applications/Communitas-Dioxus-0.12.4.app/Contents/MacOS/communitas-dioxus

After stopping it and opening the patched bundle via SSH/Finder/System Events, the patched process ran but had no AX windows:
frontmost=false, visible=true, window_count=0

WindowServer/LaunchServices logged foreground denial for SSH-origin launch:
Application ... tried to be brought forward, but isn't in fPermittedFrontApps, so denying.

Launching the patched app from the studio GUI Terminal did create a visible connected Dioxus window. However, querying AX still returns:
frontmost=true, visible=true, window_count=0

Actual

  • App process can run with no visible window when launched from non-GUI session.
  • Visible Dioxus window exposes zero accessibility windows/elements.
  • Screen Sharing/Computer Use can visually inspect it but cannot reliably focus/type into the WebView input.
  • Two installed bundles share com.maidsafe.communitas, making it easy to accidentally test the stale bundle.

Expected

  • A desktop launch should create/restore a visible window in the active GUI session.
  • The Dioxus WebView/window should expose enough accessibility surface for automation and accessibility users.
  • Test/release bundle identity should avoid stale-bundle ambiguity during side-by-side validation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions