**Version: *** 1.4.10.0 *****
Frequency: Consistently
Severity: Blocker
Context: Legacy FS2020-style HTML/JS access of UI View Listeners
Bug description: Since SU2b, the UI code updates have removed the legacy FS2020 backwards-compatible View Listener accessibility (including events and triggers), e.g. via Common.js, Coherent.js, Weather.js. While we can add the legacy common.js (and coherent.js) to the html, the registration, events and triggers no longer work. This breaks compatibility with ASFS and several other add-ons that access these legacy listeners to interact with the UI in certain ways, such as getting the current preset, changing preset, or getting customer weather settings.
Repro steps: Attempt access/registration of any legacy view listener, observe no events/callbacks/apparent functionality.
Notes:
This looks to be part of a general refactor/cleanup of the code, but this does break things significantly and there appears to be no alternative to access similar functionality. Any guidance regarding if this might be “fixed” with a future update to re-establish backwards compatibility, if a new alternative is available or forthcoming, would be much appreciated.
Without a resolution, many add-ons including ASFS will no longer be FS2024 compatible, after they were previously compatible prior to SU2.