fix(a32nx/mcdu): schedule a single remote mcdu update for all mutations - #10882
Open
tracernz wants to merge 2 commits into
Open
fix(a32nx/mcdu): schedule a single remote mcdu update for all mutations#10882tracernz wants to merge 2 commits into
tracernz wants to merge 2 commits into
Conversation
BravoMike99
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10881
Summary of Changes
Previously, only some CDU mutation operations actually sent an update to the remote server. This meant the order of mcdu.set* calls was critical for the remote server to get the full state. Several pages called setArrows after setTemplate, and the remote server therefore never got the arrows.
Now we schedule a remote server update after the end of the current Update frame whenever any method that mutates the display is called, so the remote server will always get a single complete update any time the screen is mutated during an Update frame.
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
Load a flight in the A32NX on the runway, with simbridge running. Navigate your web browser to the MCDU interface (http://simbridge.local:8380/interfaces/mcdu/), press FUEL PRED and ensure the left/right scroll arrows are displayed at the top right of the screen. Scroll left/right to INIT A then back to FUEL PRED and ensure the arrows remain displayed.
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.