-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AC gauges are jumpy on Brief and Overview pages #601
Comments
Revisit this when issues concerning the gauge calculations in #532 are addressed. Also, some relevant points:
|
Might also be an animation thing, see e.g. https://github.com/victronenergy/gui-v2/blob/main/components/controls/Slider.qml#L67 I'm currently working on a shader-based progress arc implementation which should solve a lot of problems, but let's see... |
#602 still need to reimplement the ProgressArcs and properly test performance on device etc. |
Also related to setting appropriate min/max values for gauges, avoiding dynamic scaling. |
Marking as low priority, as I don't think this is a showstopper for 1.0.0. |
It's pretty twitchy on a system with minimal load. The AC input gauge swings from max to min with only a 1 or 2 watt change. I'd say something needs to be done for 1.0.0. It's quite possible that a system with more load produces more stable gauges but have not tried it. Still, it's very distracting with minimal load. |
Ah, so this is because of the min/max values not being set properly for the gauges (#532)? Thus, because it's using the "previously seen min / max" values as the rails, it is jumping large amounts visually in reaction to small actual changes? Or am I misunderstanding? |
Yes, that's my interpretation of what's going on. |
I am tempted to close this one and file specific issues later if the rewritten autoranging + manual min/max logic planned in #532 is not enough? Or at least drop this from 1.0.0 Milestone. |
Yep, let's close this, since #532 addresses these issues. This was originally filed before all of that work was discussed in further detail. |
The only other thing which remained was ensuring that we didn't allow two property writes in quick succession to cause an animation jump, IIRC. See https://github.com/victronenergy/gui-v2/blob/main/components/controls/Slider.qml#L67 for where that was fixed for slider (which we use in the brief page monitor panel data load visualiser IIRC). |
Ah, I see, #602 is still in draft mode and should resolve this? Okay, I'll remove the 1.0.0 tag and leave this open. |
Well, #602 is different, not really related to this. It was an attempt at a performance fix, but proved not to help. |
Oh, I see, so this is currently fixed for the horizontal gauges / sliders but not the arc gauges? |
I believe so. |
There's something jumpy about the AC gauges in general, as reported in slack. Needs investigation.
The text was updated successfully, but these errors were encountered: