Closed Bug 630604 Opened 13 years ago Closed 13 years ago

search addons field too narrow to display the placeholder text for most locales

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla2.0b12

People

(Reporter: pascalc, Assigned: pascalc)

References

Details

Attachments

(3 files)

Mozilla/5.0 (X11; Linux i686; rv:2.0b11pre) Gecko/20110131 Firefox/4.0b11pre

(see attached screenshot)

The <textbox> element is not wide enough for the placeholder text it contains for most of our locales therefore the text is cut out, which is a problem since it indicates what the search box is about.

We have a lot of space on the left so increasing it should not be a problem.
Would it make sense to specify the width by an entity, so each locale can set the width depending on their needs? Or do we want to increase the width for all locales?
Keywords: uiwanted
I would be in favor of widening the text field since we have lots of unused space, this way we fix it for all locales at the same time.
this is for all platforms
OS: Linux → All
Hardware: x86 → All
Pascal, do you know which language has the longest placeholder string?
I don't know but I think filip has a tool to extract that data as part of his glossaire tool, I'll ask him tonight of he can tell me when he gets back from work.
I don't have all those fonts installed. So what's the language code of tamil?
Here is a patch that would fix the issue for all locales (bn-IN had the longest placeholder string so I used that one for testing)

Asking a review to Dave Townsend who seems to regularly patch this file.
Assignee: nobody → pascalc
Attachment #511186 - Flags: review?(dtownsend)
This is how the addons manager looks with the patch, I actually think it looks better even in English with a longer search field :)
Attachment #511187 - Flags: ui-review?(jboriss)
Comment on attachment 511186 [details] [diff] [review]
patch fixing the issue for all locales

Needs UI-review first
Attachment #511186 - Flags: review?(dtownsend)
Attachment #511187 - Flags: ui-review?(jboriss) → ui-review+
Attachment #511186 - Flags: review?(dtownsend)
(In reply to comment #11)
> Comment on attachment 511186 [details] [diff] [review]
> patch fixing the issue for all locales
> 
> Needs UI-review first

Looks good.  An ever better fix would mirror the size of the user's search bar on load, but this is sufficient for now.
Comment on attachment 511186 [details] [diff] [review]
patch fixing the issue for all locales

Approved to land
Attachment #511186 - Flags: review?(dtownsend)
Attachment #511186 - Flags: review+
Attachment #511186 - Flags: approval2.0+
thanks, adding checkin-needed keyword which I think is the next step in the process, right?
Keywords: checkin-needed
Pushed:
http://hg.mozilla.org/mozilla-central/rev/96dddc42612a
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b12
Blocks: 629034
Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b12pre) Gecko/20110222 Firefox/4.0b12pre
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Flags: in-litmus-
Depends on: 636846
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: