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)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b12
People
(Reporter: pascalc, Assigned: pascalc)
References
Details
Attachments
(3 files)
17.55 KB,
image/png
|
Details | |
1.05 KB,
patch
|
mossop
:
review+
mossop
:
approval2.0+
|
Details | Diff | Splinter Review |
103.18 KB,
image/png
|
jboriss
:
ui-review+
|
Details |
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.
Comment 1•13 years ago
|
||
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
Assignee | ||
Comment 2•13 years ago
|
||
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.
Comment 4•13 years ago
|
||
Pascal, do you know which language has the longest placeholder string?
Assignee | ||
Comment 5•13 years ago
|
||
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.
Comment 6•13 years ago
|
||
Tamil looks promising, according to http://mxr.mozilla.org/l10n-central/search?string=search.placeholder&find=toolkit/.*/extension
Comment 7•13 years ago
|
||
I don't have all those fonts installed. So what's the language code of tamil?
Comment 8•13 years ago
|
||
Tamil is 'ta'. I don't have all fonts either, that's the one I could see glyphs for. Font help's at http://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%80%E0%AE%9F%E0%AE%BF%E0%AE%AF%E0%AE%BE:Font_help.
Assignee | ||
Comment 9•13 years ago
|
||
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)
Assignee | ||
Comment 10•13 years ago
|
||
This is how the addons manager looks with the patch, I actually think it looks better even in English with a longer search field :)
Updated•13 years ago
|
Attachment #511187 -
Flags: ui-review?(jboriss)
Comment 11•13 years ago
|
||
Comment on attachment 511186 [details] [diff] [review] patch fixing the issue for all locales Needs UI-review first
Attachment #511186 -
Flags: review?(dtownsend)
Updated•13 years ago
|
Attachment #511187 -
Flags: ui-review?(jboriss) → ui-review+
Updated•13 years ago
|
Attachment #511186 -
Flags: review?(dtownsend)
Comment 12•13 years ago
|
||
(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 13•13 years ago
|
||
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+
Assignee | ||
Comment 14•13 years ago
|
||
thanks, adding checkin-needed keyword which I think is the next step in the process, right?
Keywords: checkin-needed
Comment 16•13 years ago
|
||
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
Comment 17•13 years ago
|
||
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-
You need to log in
before you can comment on or make changes to this bug.
Description
•