Column of values is empty, for textbox with type="autocomplete"

RESOLVED INACTIVE

Status

()

Toolkit
Autocomplete
RESOLVED INACTIVE
8 years ago
2 months ago

People

(Reporter: user42195, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Build Identifier: 4.08b

Column of values is empty, for textbox with type="autocomplete".
The values are there - correct value is selected when selecting using keyboard,
but just not rendered.



Reproducible: Always

Steps to Reproduce:
1. Add textbox to XUL
2. set type to "autocomplete"
3. add "autocompletesearch" and set source of data
Actual Results:  
Column of values shown as empty


Worked well before FF4 (namely in FF3.6)
Not known in which version it stopped working.

>> IMPORTANT:
I've contacted other developer who posted a Q about "autocomplete" in groups,
and he encounters the same problem.

I think the problem is somewhere in
"C:\Program Files\Mozilla Firefox 4.0 Beta 8\omni\chrome\toolkit\content\global\bindings\autocomplete.xml",
or with it's related CSS, but I'm not sure, and dont know what to look for.
(Reporter)

Comment 1

8 years ago
Created attachment 503443 [details]
autocomplete comparison FF3.6 and FF4

Comment 2

8 years ago
Just ran into this.  This was working in FF4b6, but stopped showing up in FFb8.

Comment 3

8 years ago
Still not working in Firefox 4.0b9.
(Reporter)

Updated

8 years ago
OS: Windows XP → All
(Reporter)

Comment 4

8 years ago
Still not working in Firefox 4.0b10.
(Reporter)

Comment 5

8 years ago
In Firefox 4.0b10:

The problem is partly solved by adding method "getLabelAt" to nsIAutoCompleteResult.
(In FF3 it was "getValueAt" and in FF4 the equivalent is "getLabelAt".)


There's still a problem that the rendering is not ok.
The background appears as transparent, while in FF3 it was white\window color.
(Reporter)

Comment 6

8 years ago
Ignore my previous comment which says:
"The background appears as transparent, while in FF3 it was white\window color."
This is not correct.

Eventually, to bypass this issue, u need to add method "getLabelAt" to
nsIAutoCompleteResult.

Comment 7

2 months ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.