I found calling setUrl on the WebView fixes the use, currently I am using this workaround:
C:\Users\amtri\Projects\GoldenCheetahQt6\src>git diff
diff --git a/src/Charts/PythonChart.cpp b/src/Charts/PythonChart.cpp
index d9f72694c..da0b78534 100644
--- a/src/Charts/PythonChart.cpp
+++ b/src/Charts/PythonChart.cpp
@@ -396,6 +396,7 @@ PythonChart::PythonChart(Context *context, bool ridesummary) : GcChartWindow(con
installEventFilter(console);
installEventFilter(splitter);
installEventFilter(canvas);
+ canvas->setUrl(QUrl(""));
} else {
diff --git a/src/Train/WebPageWindow.cpp b/src/Train/WebPageWindow.cpp
index 9cb52ef7a..cb4dc2cce 100644
--- a/src/Train/WebPageWindow.cpp
+++ b/src/Train/WebPageWindow.cpp
@@ -171,6 +171,8 @@ WebPageWindow::WebPageWindow(Context *context) : GcChartWindow(context), context
connect(view->page()->profile(), SIGNAL(downloadRequested(QWebEngineDownloadRequest*)), this, SLOT(downloadRequested(QWebEngineDownloadRequest*)));
#endif
connect(view->page(), SIGNAL(linkHovered(QString)), this, SLOT(linkHovered(QString)));
+
+ forceReplot();
}
WebPageWindow::~WebPageWindow()