Skip to content

harmonyos: press @ref reports a refLabel from a different node #4907

Closed

Description

@thymikee

Seen in the live run on #4857 (#4857 (comment)): snapshot -i lists @e1 [button] with no label, but press @e1 answers refLabel: "StatusBarBridgeView". That is the label of @e19. The tap landed on the correct node (the back button at 108,189). Only the reported label is wrong. Check how the HarmonyOS interactor derives refLabel for an unlabeled ref.

Activity

  1. added this to the 0.22 - lean core milestone on Nov 21, 2026
  2. apex-sentinel-staging commented on Nov 21, 2026

    @apex-sentinel-staging

    Apex Sentinel · Issue review

    Suggested label: bug

    The report describes an existing HarmonyOS interactor returning the wrong refLabel for a pressed ref: '@​e1' reports '@​e19' label despite tapping the correct node. It includes enough detail and a concrete area to check, making it actionable.

    Required sections

    • Steps to reproduce (missing)
    • Expected and actual behavior (missing)
    • Version or environment (missing)
  3. added 2 commits that reference this issue on Nov 21, 2026
    6f169cd
    634f5b8
  4. thymikee commented on Nov 21, 2026

    @thymikee
    MemberAuthor

    Fixed in #4926 (merged into 0.22 as 634f5b8), verified against real nova 14 dumps.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions