Open drgeoffb opened 3 months ago
My screenshots were taken maybe 1 minute apart on a running system (job approx 1hr length), so I don't expect identical values, however, the feedrate average (black arc, the focus of this bug) seems to have moved more than might be expected.
My patch doesn't change any 'live' parts of the graphic, but perhaps there's a follow-on effect (or fix?) in the way the arc represents the value?
I think this would change the overall length of the stroke, meaning that the stroke-dasharray and calculation of stroke-dashoffset would also need to be changed in order to ensure the data displayed appears correct.
I think this would change the overall length of the stroke, meaning that the stroke-dasharray and calculation of stroke-dashoffset would also need to be changed in order to ensure the data displayed appears correct.
I do tend to agree with you; that's pretty much why I mentioned it before... however... an unscientific observation just now... printing a job in 'vase mode' in which flow/feed rate should be pretty much constant throughout the job, all three indicators - dashboardFeedrate5Avg, dashboardFeedrateAvg and dashboardFeedrateLive - are consistently aligned...
The problem
The 'Tool Temperature' and 'Bed Temperature' widgets shows target temperatures in the form of a narrow arc centred within the present temperature arc.
The 'Feedrate' widget displays the #dashboardFeedrateAvg arc aligned with the outer edge of the #dashboardFeedrate5Avg arc.
This doesn't affect functionality, it's just visually inconsistent.
Tweaking the setup coordinates for the #dashboardFeedrateAvg ark in file /octoprint_dashboard/templates/dashboard_settings.jinja2 makes the Feedrate widget visually consistent with the others.
Fix:
Sorry, I'm not sufficiently git-literate yet to prepare a patch / pull request, but this little patch achieves my proposed fix:
Version of OctoPrint
1.9.3
Platform
Orange Pi Zero +, armv7l
Operating system running OctoPrint
Linux newpearl 6.1.63-current-sunxi #1 SMP Mon Nov 20 10:52:19 UTC 2023 armv7l armv7l armv7l GNU/Linux
Dashboard version
1.19.10
Python version
3.10.12
Printer model & used firmware incl. version
E3V3SE
Browser and version of browser, operating system running browser
Chromium 116.0.5845.141, Firefox 116.0.3, OrcaSlicer internal 2.0.0-beta (on Win10x64 desktop)
Logs and other files needed for analysis
File uploads & additional information