Last modified: 2014-11-20 09:16:54 UTC
Created attachment 7971 [details] a screenshot in which the directionality in the search box is messed This bug is a bit complicated to explain. First, it only seems to happen on Firefox. It doesn't happen on MSIE, Safari, Chrome and Opera. (Latest versions of all of them, on XP and Vista.) And it only happens with the Vector skin. Enter an RTL Wikipedia, for example Hebrew. Type the letter 'A' in the search box. There will be several suggestions: A, ABC, Allmusic, Associated Press, etc. But they won't appear correctly: it will be BCA, llmusicA, ssociated PressA. That is, the first letter goes in the end. (See the screenshot.) Now click somewhere so that the drop-down will disappear and try it again. Now it will appear correctly.
Created attachment 7972 [details] a screenshot in which the directionality in the search box is good - on the second attempt Add a screenshot with proper display. I forgot to add that if you refresh (Ctrl-F5), the bug comes back again for one time and than it is sorted out.
This works for me in trunk.
And on prototype: http://prototype.wikimedia.org/deployment-ar/%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9 , type in W.
Thanks. This problem appears to be solved on the Arabic prototype, although it has other problems: * the browser's autocomplete is not turned off * the word "Search" (ابحث) disappears the first time i click right in the search box, but if i delete what i wrote in the box, it reappears as a regular word and doesn't disappear when i click it the second time. The same happens on deployment-es.
(In reply to comment #4) > Thanks. This problem appears to be solved on the Arabic prototype, although it > has other problems: > > * the browser's autocomplete is not turned off Can't reproduce that. Try hard refreshing? > * the word "Search" (ابحث) disappears the first time i click right in the > search box, but if i delete what i wrote in the box, it reappears as a regular > word and doesn't disappear when i click it the second time. The same happens on > deployment-es. Yup, that I can reproduce. Filed as bug 26668.
(In reply to comment #5) > (In reply to comment #4) > > Thanks. This problem appears to be solved on the Arabic prototype, although it > > has other problems: > > > > * the browser's autocomplete is not turned off > Can't reproduce that. Try hard refreshing? Hmm, doesn't happen any more. I'll report if it comes back. Thanks!
It happens again in the Hebrew and the Arabic Wikipedias. I imagined that it would be fixed in 1.17.
(In reply to comment #0) > Created attachment 7971 [details] > a screenshot in which the directionality in the search box is messed > > This bug is a bit complicated to explain. > > First, it only seems to happen on Firefox. It doesn't happen on MSIE, Safari, > Chrome and Opera. (Latest versions of all of them, on XP and Vista.) And it > only happens with the Vector skin. > > Enter an RTL Wikipedia, for example Hebrew. > > Type the letter 'A' in the search box. There will be several suggestions: A, > ABC, Allmusic, Associated Press, etc. But they won't appear correctly: it will > be BCA, llmusicA, ssociated PressA. That is, the first letter goes in the end. > (See the screenshot.) > > Now click somewhere so that the drop-down will disappear and try it again. Now > it will appear correctly. I just managed to reproduce these exact symptoms on trunk. It's most likely a CSS or DOM order issue in SimpleSearch. The really weird part is that if I blank the search box, blur and refocus it, and type a different letter, the suggestions for that letter will show up correctly. It's only broken the first time.
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
This still happens on he.wikipedia.org with Firefox 18.
(Not Vector specific as far as I can tell. Affects the general search modules used by various skins, provided by core.)