Page MenuHomePhabricator

Navigation Popups remain when a link is hoovered on Recent Changes, using live update mode and Chrome
Open, Needs TriagePublic

Description

Initial report:

If I'm hovering over a link in my watchlist using Navigation Popups at the moment the live update happens, the popups window does not disappear once I move off the link. I have to reload the page to fix the problem. I have found that oddly, this is a problem in Chrome but not in IE.

I've tried with Chromium (the closest I have) and I have a persistant pop-up as well. But I manage to have it disappearing when I hover another link.
When I use Firefox, the pop-ups overlap each other when I hover a new link, but they disappear when I move my cursor.

Event Timeline

Restricted Application added subscribers: Enterprisey, Aklapper. · View Herald Transcript

Which wiki?

We have fixed that problem in the gadget before on enwiki but different versions can exist on different sites.

I'm not seeing in Chrome on en.wiki. When Live Update updates, the hover preview changes to a preview of the new link that is under my cursor, which is as expected. When I move the cursor away from any links, the popups disappear.

I couldn't reproduce it either. But, i wouldn't be surprised if there are some timing issues / race conditions. I don't think any one of us really understands how this code works/behaves, so :)

Catrope subscribed.

I just watched @Trizek-WMF reproduce this without live update enabled. It's intermittent but happens maybe one out of every 4-5 times he hovers from one link to the next. I'm pretty sure this is a bug in NavPopups, not related to RecentChanges.

I just watched @Trizek-WMF reproduce this without live update enabled. It's intermittent but happens maybe one out of every 4-5 times he hovers from one link to the next. I'm pretty sure this is a bug in NavPopups, not related to RecentChanges.

I can confirm that it is happening (intermittently) on other pages too. I've just experienced this hovering effect while reading an article. Since, I can't reproduce it. Therefore, there is a bigger probability of a bug from the Pop-Ups than from RCs.

I've been getting this for some time on Firefox. Yeah, the logic for positioning the popups and divs is... a bit weird, even by Navigation Popups standards. Nevertheless I think there's some relatively low-hanging fruit with regards to mouse detection, so I'll do some more experimentation with that and see if we can fix it.