Attack of the Killer Bug

May 10, 2006

Beginning with Googlebar Lite 4.0, an interesting problem has cropped up with the search history edit box. Take a look at this screenshot sent in by a Googlebar Lite user:

Googlebar Lite Bug

See how the drop-down marker is all the way to the left of the search box? The actual edit control has been resized to 0, while the popup element (which should be invisible) has been resized. I can get this problem to occur on demand using the Charamel theme. What's most frustrating is that I cannot make it go away. I've tried forcing the edit control's style via CSS, but the rules get ignored. I've built a bare bones toolbar from scratch to try to isolate the problem, to no avail. This is apparently a problem with the autocomplete textbox itself. A Firefox bug? Perhaps. If you happen to run into this problem, there are three courses of action you can take, none of which are very appealing:

  1. Use the default theme (if you already aren't). I have yet to see this using the default theme, although my dad has run into it using the default (he uses large fonts in Windows, however, so that might be the difference).
  2. Disable search history.
  3. Use Googlebar Lite 3.3.

Again, none of these solutions are ideal.

Do you know what's going on here? Know of an existing bug in Bugzilla that references a similar problem? Found a workaround or a fix? Please let me know! I will continue to investigate this issue, but I don't see a fix at this time. If only everything would just work as it is intended to …

6 Comments

noone

11:40 PM on May 12, 2006
I did not notice this before updating to Firefox 1.5.0.2.

Jonah

11:47 PM on May 12, 2006
It very well could be a bug in Firefox. At this point, I'm at a loss as to how to work around, or even fix, the issue.

Alex

11:43 AM on May 16, 2006
I used 3.3 with 1.5.0.2, and didn't have this issue 4.0 with 1.5.0.2 exhibits this issue, however I still haven't found a pattern to the occurrence. Something that has to do with switching to a lower resolution with firefox in background, is possibly the cause

Jonah

2:31 PM on May 16, 2006
Version 3.3 didn't have this issue because the search box used a menulist element instead of a textbox element. There's something funky with the way it's being handled. I tried patterning (is that a word?) the search box after the URL box, but the URL box makes use of several stack elements that I don't (for favicons and the RSS / security icons). The official Google toolbar rolled their own search control ... perhaps I need to do the same.

Alex

8:59 AM on May 17, 2006
Is there a reason why you can't continue to use menulist? FWIW, try copying the whole toolbar code (including the stack elements, set their width to 0 and make them display nothing) and see if the problem persists.

Jonah

12:31 PM on May 17, 2006
The menulist element doesn't provide any of the auto-completion mechanisms, nor does it provide the ability to disable search history as a whole. I feel that those benefits greatly outweigh this problem, especially since I don't see it using the default theme. That's a good idea you propose: placing the stacks in the search bar just to see if the problem persists. If it doesn't, that may be just the fix I need. I'll play around with it this weekend.

Leave a Comment

Ignore this field:
Never displayed
Leave this blank:
Optional; will not be indexed
Ignore this field:
Both Markdown and a limited set of HTML tags are supported
Leave this empty: