Skip to content

Various problems with variables #8487

@jack-ii

Description

@jack-ii

Is there an existing issue for this?

Describe the bug

  • Select value
    When I click on a variable or value in the event-sheet, the content is not always, but often, not selected and it shows no autocomplete and no "Add or edit" button.

  • Rename
    If I open the variable-editor via a variable in the event-sheet and rename it, the change is correctly applied everywhere in the project, but not in the event I started from.

  • Edit object-variable
    When I open the variable-editor through a object-variable in the event-sheet to modify it, or simply to access the variable editor (because there's still no button in the menu bar), wrongly a new variable is created with the same name and a number appended to it. This doesn't happen with scene or global variables.

  • Edit local-variable
    When I click "Add or edit" on a local-variable, the scene/global editor opens.

  • Firebase global variables
    Firebase Get document & Get field Actions don't allow global variables for the Value Callback, which can mean lots of unnecessary extra variables, events and confusion.

Steps to reproduce

.

GDevelop platform

Desktop

GDevelop version

5.6.265

Platform info

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions