LukeWoodward / SplitsBrowser

Orienteering results analysis
GNU General Public License v2.0
13 stars 9 forks source link

SVG element not shown in Chrome #86

Closed jkvatne closed 1 year ago

jkvatne commented 1 year ago

I have a demo at https://www.nook.no/split.php?file=./resultater2023/Trening_20.06.23.csv It will display the graphs ok in edge and firefox, but not on chrome. Can this be fixed?

It uses the following libraries: "https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" and "https://ajax.googleapis.com/ajax/libs/d3js/5.16.0/d3.min.js". I have tried many other versions but with no luck.

LukeWoodward commented 1 year ago

Hi Jan,

I've just tried to view the graphs you link to in Chrome and they looked okay to me. I also checked that Chrome was up-to-date (114.0.5735.134) and it was. Could you perhaps include a screenshot of the problem?

Yours,

Luke

jkvatne commented 1 year ago

Here is a screenshot. image

jkvatne commented 1 year ago

Then I went to Chrome Settings, and did a "Reset Settings", and now miraculously it works perfectly! There must have been a setting that affected the display, but I do not know which.

LukeWoodward commented 1 year ago

Hi Jan,

Thanks for getting back to me and letting me know the issue has been sorted out for you. I suspected it might have been a problem at your end, because I couldn't reproduce the problem myself. You also mentioned that the graphs display okay in Edge. Edge now uses the same rendering engine as Chrome, so if there was an issue displaying the graphs in one of them then I would expect the other one to be affected too.

I have seen an issue where a browser update caused an application used internally at work to stop working. This affected both Chrome and Edge, but Google and Microsoft pushed out fixes a few days later that resolved the problem. My first thought was therefore that this could be another one of those issues.

But anyway, as there's nothing more to be done in this case, I'll close this issue.

Yours,

Luke