Skip to content

Linux engine: a Qt window without _XEMBED_INFO and no AT-SPI tree is pressed unguarded inside the sandbox #286

Open

Description

@SSFSKIM

Problem & intent

#171 M4 task 61 refuses, on a shared desktop, a background press to a Qt window that has no AT-SPI tree to wait on. It recognises such a window by _XEMBED_INFO, which Qt sets on every window it creates (7/7 Qt top-levels, 0/10 non-Qt in the survey), and outside the worker sandbox also by the process's mapped libQt5Core/libQt6Core. Inside the sandbox the engine has its own PID namespace and /proc, so only the marker works. A Qt window without _XEMBED_INFO (a Qt build or embedding that doesn't set it), with no AT-SPI tree, in the sandbox, reads as an unknown toolkit and is allowed. That press can activate the window, as task 61 measured for Qt (27–28 of 30 at 2x without the wait).

Intent: no Qt window on a shared desktop is pressed without Qt's own focus acknowledgement or a refusal, whatever the sandbox state.

Constraints

Success criteria

  • Find a sandbox-safe second signal: for example the client's resource or WM_CLASS against a list of known Qt applications, a Qt-specific property other than _XEMBED_INFO, or the X client's pid resolved by the service outside the sandbox and passed in.
  • Survey how often a Qt window lacks _XEMBED_INFO on the VM's apps; accept the limit with that number if it's 0 and no signal is cheap.
  • A test that fails today for any change.

Decision log

  • 2026-11-05: declared at task 61 by the design session (unknown toolkit is allowed and stated as a limit with a ticket).

Sources

Activity

  1. added
    bug
    status:ready-for-architect
    priority:P3
    on Nov 5, 2026
  2. added a commit that references this issue on Nov 5, 2026
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

    bugpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions