Skip to content

Pasted triggers loose their contents #8249

@Kebap

Description

@Kebap

Brief summary of issue:

After you paste a trigger and leave it, now suddenly it has no name anymore, and lost other contents as well

Steps to reproduce the issue:

  1. Select any trigger, press CTRL + C to copy it
  2. Press CTRL + V to paste it again. Review the pasted contents. All is there: name, patterns, highlight colors, Lua code, etc.
  3. Be happy. Select another trigger

Error output

  1. The trigger you had just pasted has now lost its name. Click it again and see how it also lost colors, Lua code, etc. Only patterns seem to remain.

Expected result

  1. The trigger you had just pasted should stay unchanged and keep its contents.

Extra information, such as the Mudlet version, operating system and ideas for how to solve:

Works in 4.19.1 release version still
Does not work in PTB 2025-09-10

Did not yet check other types like alias, timer, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions