Closed Bug 820921 Opened 12 years ago Closed 8 years ago

Extra space in <select> dropdown due to Chinese characters

Categories

(Core :: Layout: Form Controls, defect)

16 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gary_neier, Assigned: MatsPalmgren_bugz)

References

()

Details

(Keywords: regression, Whiteboard: Regressed by Bug 575294)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232

Steps to reproduce:

Added Chinese characters to a <select> form element


Actual results:

When the number of options is over 20, and there are chinese characters, there is a large empty space at the bottom of the option menu.

Initial request for ideas documented here:
http://stackoverflow.com/questions/13830739/firefox-bug-extra-space-in-select-dropdown-due-to-chinese-characters



Expected results:

The option menu should be properly sized, as seen in IE/Chrome/etc.
Attached file Reporter's testcase
It's a regression in Firefox 16:

m-c
good=2012-06-23
bad=2012-06-24
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bb4b37094b9f&tochange=cb2904476d14
Keywords: regression
Summary: Firefox Bug: Extra space in <select> dropdown due to chinese characters → Extra space in <select> dropdown due to Chinese characters
Version: 17 Branch → 16 Branch
m-i
good=2012-06-22
bad=2012-06-23
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a7621ccb684e&tochange=daf9c42be518
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/80b8680bda1c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 ID:20120622175046
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/c35d2d3071ac
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 ID:20120622182843
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=80b8680bda1c&tochange=c35d2d3071ac

Last good: 23f5c88adb8f
First bad: 612ee5c6300d

Regressed by:
612ee5c6300d	Mats Palmgren — Bug 575294. part=3/5 r=roc
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Whiteboard: Regressed by Bug 575294
Seems to work fine on Linux64 and OSX, but I can reproduce it in Nightly on Win7.
Assignee: nobody → matspal
Attached file Testcase #2
This test shows the problem occurs on all platforms.
It only occurs when the number of items > 20.
Firefox: 45.0.1, Build ID: 20160315153207
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

Hi Gary,

I have tested this issue on the latest Firefox (45.0.1) release, latest Nightly (48.0a1 - Build ID: 20160321030217) build but I could not reproduce it. I have tested this using the provided test cases from comment 1 and comment 6, but there is no large empty space at the bottom of the select menu.

Is this still reproducible on your end ? If yes, can you please retest this using latest Firefox release and latest Nightly build (https://nightly.mozilla.org/) and report back the results ? When doing this, please use a new clean Firefox profile, maybe even safe mode, to eliminate custom settings as a possible cause (https://goo.gl/PNe90E). 

Thanks,
Cosmin.
Flags: needinfo?(gary_neier)
Fix range in v36:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=2114ef80f6ae&tochange=b62ccf3228ba
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gary_neier)
Resolution: --- → FIXED
It's probably a bit optimistic to call it fixed, let's call it WFM for now...
Resolution: FIXED → WORKSFORME
Thank you for check this bug.. looks like in the intervening 3+ years, the problem was resolved.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: