Javascript error displaying the charging sessions in Qt 5.15 LTS WebView/WebEngineView #18442
Open
1 task done
Labels
ux
User experience/ interface
Describe the bug
My setup is a little bit uncommon as I use evcc within a WebView or WebEngineView of Qt 5.15 LTS . Everything was working fine before adding a tariff in the configuration causing evcc to display the charging cost. In the Qt log, the following message is printed on displaying the charging sessions and selecting the price tab:
The price graph is not visible, hovering over the price graph causes further exceptions:
The issue is very likely related to a quite old report at Stack Overflow. The issue seems to be gone in Firefox and Safari, but the QtScript Javascript implementation in Qt still throws the exception. The following patch solves the issue and the price graph is fully functional:
Steps to reproduce
Configuration details
Log details
What type of operating system or environment does evcc run on?
Linux
Nightly build
Version
0.133.0 (0a83391)
The text was updated successfully, but these errors were encountered: