Forum:Misaligned Autocomplete on Semantic Forms

This is a wikia wide bug with the Semantic forms ("SF") extension. My wild ass guess is that since both wikia and SF use YUI that an assumption is being made that is valid for all wikia CSS objects (eg for category or template name autocomplete) but not non wikia objects employing YUI autocomplete.

To reproduce bug:
 * 1) Go to File:Santa_Fe_locomotive.
 * 2) Click "Edit with form" (next to "edit this page")
 * 3) Scroll the page so that the field labeled "State/province" is in the middle of the page.
 * 4) Type "texas"
 * Bug: Yahoo's Autocomplete floater aligns to absolute 0,0 of the article pane (now offscreen).
 * Expected behavior: floater is aligned to input field object left, and lower Y (eg:[Dom.getX("inputField"), Dom.getY("inputField") + Dom.get("myInput").offsetHeight +5)

This reproduces on other Wikia wikis:
 * government wiki

Browsers: IE8 and Firefox 3.0.13.

Regardless whether this is a bug that needs correction, please advise if there is specific js or css for page specific setting the coordinates for YUI autocomplete.

22:26, 13 August 2009 (UTC)
 * I did not emphasize that this is a wikia bug not a bug in the extension. It does not show up on any other wikis other than those at wikia. The author of the extension has examined bug report and also believes it is a wikia configuration problem.  For that thread, see this sourceforge SMW mailist response from Yaron Koren.


 * Priority: Other wikis can speak for themselves, but this is a high priority bug for Familypedia.  SMW forms documentation cites Autocomplete as being one of its key strengths, and I agree.  Without a fix to this problem, forms do not offer a solution to the Garbage in, Garbage out phenomenon with structured data.  Concretely, when someone enters a historical event as occurring in "Greene county", it could be any of 16 different counties in the US alone.   17:13, 14 August 2009 (UTC)


 * This is being looked into :) Thanks for the report! 15:33, 17 August 2009 (UTC)


 * Any of the forms used at vsk.wikia.com will demonstrate the misaligned auto-complete problem however, in each case the window is at least visible on the page and consistently in the same location. (The forms are short enough not require the user to scroll down.)
 * I remind Kirkburn that misalignment of the autocomplete window is also observed in the plain text editor when links and templates are being typed. So it would not surprise me if fixing one will have an effect on the other.
 * Wishful thinking but ... bringing Wikia's revision of the Semantic Forms extension current to the latest revision (1.8.2) would be a good thing because ours is still a Feb-2009 version (1.5.1) and there have been numerous bug fixes and enhancements to SF in the interim. Since Wikia technical support for SMW/SF is lacking we must go to each extension's author and often the response is "ask Wikia to update their extension".
 * Even more wishful thinking ... installing the complete Semantic Bundle here at Wikia so those of us trying to use this innovative new technology aren't operating with one hand tied behind our back.
 * --najevi 14:30, 18 August 2009 (UTC)
 * Agreed; that would be nice. --Michaeldsuarez (Talk) (Deeds) 16:28, 18 August 2009 (UTC)


 * Quick response: aye, the misalignment of the autocomplete windows is also on the list - it appears to get worse the further you have scrolled down the page. 20:07, 18 August 2009 (UTC)

Appears fixed now.
Autocomplete now appears to work on all cases of Semantic forms that I have seen, (included very large forms with nested Hidden sections using DanTMan's showHide).

For SMW Forms users, you may note that Autocomplete will display text centered for some fields. If this is not desirable, I have noticed that if you set align=left for that cell, the Autocomplete will honor that alignment preference.

Best regards to the engineer(s) that made this happen. 00:12, September 10, 2009 (UTC)