Skip to content

ALTER PAGE … insert also changes an untouched combobox (adds its screen-reader texts) #1945

Backlog

Description

@dewet-noda

mxcli version: v0.32.0 (2026-11-15), Windows. Studio Pro 11.12.4 project. Not yet retried on a nightly.

What happened
An ALTER PAGE that only inserts new widgets also changed a combobox it did not touch.

alter page MyModule.MyPage {
  insert before btnSomeButton { ... new containers, images, texts ... }
  insert after btnSomeButton { ... }
}

After execute script, a raw BSON compare of the page unit showed the planned insertions plus one extra change: an existing combobox elsewhere on the page (not named in the script) gained its 6 standard screen-reader texts (translations in a non-English project language). The 3 other comboboxes on the same page already had those texts.

Expected
ALTER PAGE … insert changes only the inserted widgets. Widgets outside the statement keep their stored properties byte-for-byte, even when they are missing optional/default texts.

Why it matters
Teams review page diffs before committing. An unrequested property change on an untouched widget makes the diff harder to trust, and on shared pages it can clash with someone else's edit.

mxcli check --references and mx check were both clean; the change itself is harmless, the problem is that it is unrequested.

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