Closed Bug 739437 Opened 13 years ago Closed 13 years ago

Dev Derby: Wrong thumbnail when hovering

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: openjck, Unassigned)

Details

(Whiteboard: u= c= p= )

Attachments

(2 files)

Attached image Wrong thumbnail
When hovering over a submission, the "hover box" occasionally shows the wrong thumbnail. I have had a hard time reproducing this, but it happens at least a couple of times per week. Attached is a thumbnail of what it basically looks like. Annoying, but not critical. Definitely a post-Kuma bug.
Some additional details: * When this happens, the thumbnail is correct before and after I hover (but again, not while I hover). * When this happens, the page sometimes cycles through several incorrect thumbnails before it lands on one (still incorrect) thumbnail. * This may affect the Demo Studio as well. I don't remember if I've ever seen that.
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0
Attaching a screenshot of the real problem, in action. It's still very hard to reproduce, through. Just keep hovering on things until it happens. Shouldn't take more than a couple of minutes. Chat with craigcook copied below: 18:34 <craigcook> openjck: is it just the thumbnail image, or the entire box? title, author etc? 18:35 <openjck> Hm. Good question. It's hard to replicate the issue, but the latter does sound about right. 18:35 <openjck> Very hard to remember. 18:35 <openjck> craigcook: ^ 18:36 <openjck> I'll keep an eye on that when it happens again. 18:36 <craigcook> the hover box is actually a clone of the box over which you're hovering, created and destroyed on the fly? but there could be a glitch where the box doesn't get destroyed when it fades out, and so you might see the previous box next time you hover another demo 18:37 <openjck> Ah! 18:37 <openjck> Yeah, that sounds about right. 18:37 <openjck> I think I remember seeing the thumbnail of the last box I hovered over. 18:38 <craigcook> if we can consistently reproduce it we should be able to fix it? could just add another check that forcibly destroys an existing clones before creating a new one. Or something like that. 18:39 <openjck> craigcook: You're right. That's it. I was able to reproduce it, too. 18:39 <openjck> It's the thumnail, title, etc. of the one I last clicked on. 18:39 <craigcook> ok 18:40 <openjck> And it seems to happen when I move from one to the other quickly. 18:40 <craigcook> so yeah, I bet when you click it doesn't get properly destroyed, so when you hover over another one it's still showing the old clone? should be fixable
I've found a pretty easy way to reproduce this: 1. Hover over a demo thumbnail. 2. Without moving the mouse, scroll up or down the page until you end up hovering over some other demo. 3. Keep repeating step #2 until you see the issue. It might take a few trials, but after that it should happen every single time.
Is this still relevant? How do I get to this page?
Yep. I still see this from time to time. You can reproduce it on either of the following pages, and others: https://developer.mozilla.org/en-US/demos/devderby/2012/july https://developer.mozilla.org/en-US/demos/
Version: MDN → unspecified
Component: Website → Landing pages
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/5f3b948f4fc8f1b5dbbd3635c1b67602a97f8806 fix bug 739437 - Prevent duplicate thumbnail hover https://github.com/mozilla/kuma/commit/97f51cf322c537efb5c68815651a7dc53dda6e20 Merge pull request #810 from darkwing/tooltip-739437 fix bug 739437 - Prevent duplicate thumbnail hover
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: