bug: widgets are not loading properly when changing views
Bug description
Some widgets (specifically noticed with attitude and depth widgets) do not get drawn when the active View changes.
Steps to reproduce
- Have an attitude or altitude telemetry value that doesn't change
- Change views (normally or in the interface editor)
- The relevant depth/attitude widget doesn't get drawn
- until the telemetry value changes, or the window gets resized in a relevant direction
Primary pain point(s)
It feels like something is broken when the expected widgets are not visible. Ideally changing view should make sure all on-screen widgets get drawn (if necessary that may require triggering every widget to get re-drawn once, although it's preferable to avoid that if possible, perhaps by just triggering a cache invalidation?).
This is low priority because in practice
- most vehicles will have changing telemetry values (if only because of sensor noise),
- values that aren't changing are unlikely to be important to see, and
- it only happens when changing to a View where that widget hasn't been drawn yet,
but it's still annoying enough that it seems worth fixing.
Prerequisites
- [X] I have checked to make sure that a similar request has not already been filed or fixed.
Damn I thought we got rid of all the canvas rendering problems already D:
This is a pretty obscure one, and it's quite insignificant given the requirements to run into it 🤷