https://bugzilla.wikimedia.org/show_bug.cgi?id=58055

       Web browser: ---
            Bug ID: 58055
           Summary: Going to next image, then previous, quickly enough,
                    will cause the load callbacks to fire and give you the
                    next image
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MultimediaViewer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

e.g. I'm on image 1, I go to load image 2 but quickly move back to image 1.
When the image 2 load callback fires, it replaces image 1 (which I'm viewing),
replaces the metadata, and fails to update the URL. Going to the next image
brings me to image 2 again, which is confusing.

Solution: Probably clear all callbacks in this case, somehow. Or check that the
image we're loading in the callbacks is the image we're currently on. Or use
nonces for image load callbacks so we know which one to listen to.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to