Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2131

Tagger button reacts slow in Firefox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.6.0b1
    • Fix Version/s: 2.6.0b2
    • Labels:
      None
    • Environment:
      Firefox 86.0
      Tested with Windows and Linux

      Description

      Since the changes to PICARD-2126 the tagger button on my Firefox on Ubuntu Linux reacty very slowly. I click the button, Firefox also shows a started request in the console, but the response only comes > 4 seconds later.

      Adding logging to Picard shows that also request processing happens with this delay.

      Now the strange things:

      • I cannot reproduce this with Chrome, Chromium or Edge
      • This only happens when clicking the tagger button
      • Entering the tagger URL directly into Firefox resolves quickly
      • Simulating what mb.org does when clicking this link in the console works very quickly.

      If you click the tagger button the website basically runs this code:

      var tagger = new Image();
      tagger.src = 'http://127.0.0.1:8000/openalbum?id=d504970c-abf5-4d67-b472-a1b350523439&t=1614779620';

      If I run the above in the browsers console it performs the request quickly. But if it is performed by clicking on the button it resolves very slowly, even though the request starts quickly, which indicates the code ran.

      Running Picard with the old browser code is working as expected, indicating that it is related to the new server code.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              outsidecontext Philipp Wolfer
              Reporter:
              outsidecontext Philipp Wolfer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Packages

                  Version Package
                  2.6.0b2