Description

The search box, when clicked or modified, doesn't activate properly the Titles or Text button as it should.

Steps to reproduce

  1. Choose "français" as your language
  2. Make sure the UI changed to that language
  3. Click on the search box

Expected result: It shold make the text in it disappear and activate the buttons.

Actual result: the text doesn't disappear and the buttons are not activated.

Example

URL: http://wiki.koumbit.net/

Details

This wiki.

Workaround

Manually change the space to a "conventional" space in the .po file.

Discussion

This has been signaled to the FrenchTranslation team before. It seems it was fixed some time ago, but the problem crept back or the .po file never was fully integrated in a release. Here's a translation of the discussion over there. -- TheAnarcat 2005-08-25 15:06:03

Hi! I noticed a strange bug with the search box in this wiki. When I click on the search box, the text doesn't disappear. I think this is related to the use of unbreakable spaces (0x8a0) instead of conventional spaces (0x20) in the fr.po file. I replaced the spaces correctly in a file uploaded in my home:

http://moinmoin.wikiwikiweb.de:8000/TheAnarcat?action=AttachFile&do=get&target=fr.po

According to NirSoffer, unbreakable spaces are not necessary:

(19:58:46) nir: there is no line break, we set it with css
(19:58:57) nir: white-space: nowrap;

-- TheAnarcat 2004-11-30 21:07:09

I took a look at this problem. It seems that it's yet another mozilla (and derivates) problem with management of unbreakable spaces. Bug report:

I examined the page closer. It uses a script that erases the text if it's identical to the original text. Since Mozilla automatically replaces unbreakable spaces with regular spaces, both strings are not identical when clicked on so the text is not erased.

Usage of unbreakable spaces in the .po file is correct and necessary to proper writing in french.

While Mozilla is corrected, the simplest solution seems to me to modify the only unbreakable space used in the search box. Which produces the .po file attached.

Thank you for signaling this Mozilla compatibility problem. :)

-- JeanPhilippeGuérard

I have just fixed it again. Some time ago, someone edited the French .po file with a mozilla derivative, so I had to redo all the non-breaking spaces, and I forgot to skip this one. Sorry.

Please note however that this is a Mozilla bug (Mozilla is not able to cleanly handle the Latin 1 encoding ! https://bugzilla.mozilla.org/show_bug.cgi?id=218277), not a MoinMoin issue. I've implemented a workaround in the French .po file, but, in fact, this issue should be fixed in Mozilla.

-- JeanPhilippeGuérard 2005-08-26 00:00:11

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SearchBoxAlwaysInactive (last edited 2007-10-29 19:11:19 by localhost)