bitfocus / companion

Bitfocus Companion enables the reasonably priced Elgato Stream Deck and other controllers to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
Other
1.62k stars 505 forks source link

[BUG] Export then Import - buttons missing feedbacks and connection to ATEM says "Connecting" but never connects #3104

Open greggbhill64 opened 4 weeks ago

greggbhill64 commented 4 weeks ago

Is this a bug in companion itself or a module?

Is there an existing issue for this?

Describe the bug

I wanted to export my configuration as a backup after setting up 32 buttons tied to ATEM macros, with manually edited titles and a few settings changed (up/down direction; button title bars). At Export I selected all checkboxes. After Export, to verify that i could rely on the saved config file as a backup, i did an import (no changes to hardware devices / network) and selected all checkboxes. Streamdeck software is NOT running. Have tried both "Compressed" and "Uncompressed" export options - same result.

Result:

If i subsequently add a new connection to the ATEM, it connects fine, but all of the buttons are not tied to the new connection.

Maybe i am doing something wrong, but seems like a simple export then import should result in everything working as it did before the export.

Steps To Reproduce

  1. Configure Streamdeck with ATEM (Connection, tie buttons to ATEM Macros, update titles, turn off button title bar and change up/down direction in settings.
  2. Export - use all options
  3. seconds later, do Import with all options

Expected Behavior

Simple export then import should result in everything working as it did before the export.

Environment (please complete the following information)

Additional context

No response

Julusian commented 3 weeks ago

setting for changing up/down direction is NOT preserved setting for removing the title bar on each button is NOT preserved

Both of these are expected. follow #2688 for updates when that gets supported

ATEM connection shows "Connecting" (forever) button "Feedbacks" are NOT preserved

I can't reproduce this. Could you provide the file which is failing to import?

greggbhill64 commented 3 weeks ago

i had to rename the extension to drop them here... ghill-mbp.local_custom-config_20241024-1649.companionconfig.txt ghill-mbp.local_custom-config_20241026-1011.companionconfig.txt

Julusian commented 3 weeks ago

the file ghill-mbp.local_custom-config_20241026-1011.companionconfig.txt is importing fine for me, with feedbacks and connecting to an atem. the file ghill-mbp.local_custom-config_20241024-1649.companionconfig.txt is also importing fine and with feedbacks and connecting.

so I'm not sure what to suggest, as it seems to be fine for me..

After you do the import, is there any errors shown in the log tab?

greggbhill64 commented 3 weeks ago

ok, unfortunately i didn't capture the errors. i have to use the setup for production, so i can't try to reproduce to get the logs right now. but i will try the next time i have a chance. thanks for looking into this!