Skip to content

[bug] canvas: selection toolbar can block double-clicking a node title to rename #693

In review

Description

@hsliuustc0106

Evidence

  • Nightly #35, browser-extended, step 8, scheduled on main 42c5dc3926026384c13f7a6cc633792df44d079d. GitHub Ubuntu 22.04, Playwright Core 1.58.2, Chromium Headless Shell 145.0.7632.6, isolated fixture; no live provider.
  • node_versions.mjs is the failed script. Playwright located the visible, enabled title 历史图片(待保存), but its normal double-click timed out after 20 s because .cw-selection-toolbar-group within .cw-node-toolbar-anchor repeatedly intercepted pointer events.

Reproduce

At the pinned revision, use the Nightly extended-browser fixture setup and run node tests/browser/node_versions.mjs. The failure occurs in the draft-flush failure/retry segment: after the preceding history interaction, it double-clicks the title to create a pending rename. Observed in CI; not independently reproduced.

Expected: The title remains pointer-accessible. Double-click enters rename and the test reaches the intended save-failure/retry assertions.
Actual: The toolbar wins hit testing; the rename interaction never happens.

Scope and acceptance

#513 covered toolbar overlap with the global Switch project control; #516 fixed that case and noted possible overlap with the node title after clamping. This report is for the latter target, not proof that the clamp caused this exact failure. #393 is a different image-readiness failure in the same script.

Capture title/toolbar geometry and the hit-tested element at the failing point. Verify a selected node near the top edge can be renamed by an ordinary double-click while the toolbar and global project switch remain usable. Preserve the existing draft-save assertions; do not force the click or just widen its timeout.

Activity

  1. added
    area:canvas
    on Dec 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

    area:canvas

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions