Skip to content

[BUG] Button sometimes does not display evaluated text #4380

Description

@ChadJeffreyAnderson

Make sure you're on the latest stable or beta build

  • I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Once every few startups, I'll get some text elements that appear to render on buttons without their calculated values, while displaying correctly in the preview.

Image

In the above example, the text is dependent on a series of local and connection variables:

$(local:camera_index) = $(this:page) - 40
$(local:camera_label) = `Camera_${$(local:camera_index)}`
$(local:preset_index) = $(this:row) * 4 + $(this:column)
$(local:preset_name)  = getVariable($(local:camera_label), `preset_${$(local:preset_index)}`)

Steps To Reproduce

Haven't found a great way to reproduce. In the same instance, other connections of the same type don't experience the issue, and the issue can appear on seemingly any of the camera connections in a given startup. I'll try to hammer at it some more to see if there are any patterns.

Expected Behavior

Text elements always render on the button with their values calculated.

Environment (please complete the following information)

Companion: v5.1.0+9749 main-e286386352 (and 5.0.2)
OS: Windows 11 Enterprise (v10.0.26200; x64)
Browser: Microsoft Edge v150.0.4078.105 running OS: Windows 11 (Build 19.0.0) on: desktop

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions