Comparing activities no longer works

When I select two or more activities to compare and then tap the compare button, only a white page appears.

No matter which browser I use, even clearing the cache didn't help.

Is anyone else having the same problem? Is this a new bug?

Does anyone have a solution?
  • hey flowstate,

    thank you for your answer and support

    i have uploaded a  zip file with 2 fit files inside for you

    https://www.filemail.com/d/pwgatvvsprhvogh

  • Thanks for this!

    Yep, the cause of the crash is the presence of the step speed loss chart. It's so similar to the other problem it's funny asf (but not at all surprising)

    I cooked up a user script to work around this problem. You can use it with popular browsers on PC or Mac. 

    Setup

    1) Install tampermonkey: https://www.tampermonkey.net/

    2) (Chrome only) Follow the instructions in the tampermonkey FAQ under Q209: Permission to execute userscripts: https://www.tampermonkey.net/faq.php#Q209

    3a) Open the user script at greasyfork: https://greasyfork.org/en/scripts/548190-garmin-connect-fix-activity-comparisons 

    3b) Click Install this script

    3c) The tampermonkey extension will open with the script - press Install

    Usage

    The script will automatically run when you open an activity comparison.

    Sit back and enjoy the exhilarating feeling of successfully comparing activities instead of staring at a blank white page

  • If anyone at Garmin is reading this (doubtful) or cares (even more doubtful), you're missing some code in  /web-react/static/js/index__bundle__5.16.0.31.js

    I think this is data that maps activity charts to translated strings for the unit and label. The translated strings exist, but the mapping data in the comment doesn't.

    Adding the lines in the comment will prevent the crash *and* allow step speed loss and step speed loss percentage to be compared.

    My script isn't able to modify that file, so it just removes step speed loss (percentage) from the metadata for each of the activities to compare. This prevents the crash but also prevents those metrics from being compared.

    Also, there's a couple of pieces of code that could be changed to prevent this kind of crash in the first place. Obviously the missing data in the translation map is bad, but it's even worse for the site to just crash, instead of recovering gracefully and/or logging a message.

    Take your pick:

    (as before, the fixes are in the commented text.)

    (

  • Wow I can't believe I was downvoted for the above comment.

    I guess that's my reward for personally investigating and working around a 2nd bug related to step speed loss.

    Really makes it all worth it. I don't think there's too many other ppl who would've done all of this.

    The first bug (being unable to save the chart order when step speed loss is absent) hasn't been fixed yet. I wouldn't hold my breath waiting for this one to be fixed either.

    If only Garmin fanatics would hold Garmin to same high standards of accountability that they apply to people commenting in the Garmin forums.

  • @flowstate
    
    Thank you so much for all your work and the scripts as a workaround and for finding the cause.
    
    I also found a workaround that works for me.
    
    You have to include an activity in the comparison where no "speed loss on ground contact" 
    was recorded (in my case, old activities with the HRM Pro chest strap). Then you have one more activity that you don't really want to compare,
    but at least you can compare the other otherwise incomparable activities. But of course, not the speed loss. Garmin is definitely asked to remedy this. Thanks to all contributors.
  • Where or how can I report this bug to Garmin in the hope that a fix will be found at some point?
    
    Is there a dedicated support email address?
  • Yeah, that's a good workaround, thanks for mentioning that.

    It kind of highlights a design issue with the comparison tool: only the charts that are common to all of the selected activities are available for comparison. This doesn't really make sense for comparing more than 2 activities, and even with only 2 activities, you may wish to look at a chart that isn't available in both of them (while staying on the comparison screen).

    I also think the chart comparison feature itself is a little lacking. It's just a visual comparison with no way to see the individual values at any point. I would've expected to be able to roll over the chart with the mouse and see a comparison of individual values at different points in time. Instead, hovering over the chart just causes all but the hovered line to faed out, which is kind of useless

  • Well, there's [email protected], but I'm not sure if that applies to Connect. I've used it for my Garmin watch and accessories in the past. Garmin never publicizes that email address tho.

    You could also use the support website: https://support.garmin.com/. If you select the email option, it might eventually end up at the same place.