Last modified: 2014-05-17 16:13:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64858, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62858 - Firefox 3.6: Clicking on proposal in search bar does not go to page
Firefox 3.6: Clicking on proposal in search bar does not go to page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.23.0
All All
: Lowest minor (vote)
: 1.24.0 release
Assigned To: Bartosz Dziewoński
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-20 01:27 UTC by jhmaxon
Modified: 2014-05-17 16:13 UTC (History)
5 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description jhmaxon 2014-03-20 01:27:47 UTC
I'm not sure if this is the proper place for this topic. Feel free to move if need be, but anyway the last week or so the search bar on Wikipedia has not been working properly. When I type in something in the search bar and I select the suggestion I want it does not automatically start loading the page. I have to press enter or the magnifying glass this to load page. I'm on windows 7 and x and use Firefox 3.6.x. any help out be appreciated and thank you in advance
Comment 1 Andre Klapper 2014-03-20 11:29:02 UTC
Thanks for taking the time to report this!

Which exact website is this about?

> I select the suggestion

How exactly?


Firefox 3.6 is Grade B only ( https://www.mediawiki.org/wiki/Compatibility ) hence setting lowest priority.
Comment 2 jhmaxon 2014-03-21 21:40:59 UTC
(In reply to Andre Klapper from comment #1)
> Thanks for taking the time to report this!
> 
> Which exact website is this about?

En.wikipedia.org/wiki/main_page and any page on this wikipedia, and wiktionary
> 
> > I select the suggestion
> 
> How exactly?

This is what I did.

1. For example I type "fr" 
2 a list of suggestions pops up below
3. "France" happens to be a suggestion
4. I click "france" with mouse and it just completes entry in search bar and does nothing else. In order to go to that article I have to press "enter" on my keyboard to load page. If I do this on Google Chrome it automatically loads the page after I click suggestion.  Try to do the same thing with the browser I'm using and with Google Chrome and you will see what i mean.Any way I apologize for taking so long to reply. Thank you
Comment 3 Andre Klapper 2014-03-24 10:49:23 UTC
Works for me in Firefox 27. No plans to investigate issues with such an old Firefox version, however contributed patches would be accepted.
Comment 4 jhmaxon 2014-03-25 18:32:35 UTC
Since there is no intention to further investigate the bug, how do I Contribute patch? Thank you for your time anyway
Comment 5 Andre Klapper 2014-03-25 21:59:04 UTC
See https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker but I myself cannot offer help finding the right place in the code. :-/
Comment 6 Bawolff (Brian Wolff) 2014-03-26 15:33:07 UTC
Confirmed on Iceweasel/3.5.16

Clicking on the suggestion fills out the search box, but does not submit
Comment 7 jhmaxon 2014-03-27 15:22:14 UTC
Thank you Bawolf that is the exact problem I'm having. Thank you for wording it better.
Comment 8 Bartosz Dziewoński 2014-03-28 17:29:55 UTC
I installed Firefox 3.6 to do some testing, and googled around.

The suggestions list entries you're clicking on are simple links (<a> elements), with some magic dust sprinkled on them to e.g. update the form field when you click them (in addition to doing the default link action – sending you to the target page).

These additional actions also include hiding the list of suggestions, which means hiding the link that was just clicked. This happens during the handling of the default action (visiting the target page).

The problem is that Firefox 3.6, unlike other browsers, will not perform the default action if the link is not visible to the user – and it isn't, because we've just hidden it. It doesn't care that it was visible when clicked.

We could probably try working around this by hiding the list after the new page starts loading. The code is rather brittle, though, so this will require some boring testing :(
Comment 9 Gerrit Notification Bot 2014-03-28 18:06:25 UTC
Change 121701 had a related patch set uploaded by Bartosz Dziewoński:
jquery.suggestions: Hide the suggestions list asynchronously

https://gerrit.wikimedia.org/r/121701
Comment 10 Bartosz Dziewoński 2014-03-28 18:08:53 UTC
The patch above seems to make it work for Firefox 3.6 and seems to not to break anything for other browsers, but I'd appreciate if someone who cares about 3.6 could test both of these things more thoroughly. :)
Comment 11 jhmaxon 2014-03-28 21:45:36 UTC
The above mentioned patch did not work for me on Firefox 3.6.28
Comment 12 jhmaxon 2014-04-02 18:37:54 UTC
It is hard to believe that something like this would be caused compatibility issues with software. I take it that this will go unresolved?
Comment 13 Bartosz Dziewoński 2014-04-02 19:08:51 UTC
The patch above works for me. How did you test it?

If it doesn't solve the issue, then this bug will probably stay opened at lowest priority forever / until we officially drop support for old Firefox, unless of course someone decides to fix it better; personally I have more interesting and rewarding things to do :), I don't think the WMF cares, and this just makes using the search a bit annoying rather than impossible.

I would recommend updating your browser.
Comment 14 Gerrit Notification Bot 2014-05-11 09:10:16 UTC
Change 121701 merged by jenkins-bot:
jquery.suggestions: Hide the suggestions list asynchronously

https://gerrit.wikimedia.org/r/121701
Comment 15 Bartosz Dziewoński 2014-05-11 09:24:19 UTC
Should be fixed now! (But not yet deployed on Wikimedia wikis, that'll happen in around two weeks.) I'd appreciate if you could verify the fix.
Comment 16 jhmaxon 2014-05-17 16:13:59 UTC
The fix is greatly appreciated. Thank you

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links