Closed
Bug 1230467
Opened 9 years ago
Closed 7 years ago
Lengthy text in an option breaks rendering of select box
Categories
(Core :: Widget: Cocoa, defect, P4)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
e10s | - | --- |
People
(Reporter: swayam, Unassigned)
References
()
Details
(Keywords: regression, testcase, Whiteboard: tpi:+)
Attachments
(1 file)
438.13 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20150917150946 Steps to reproduce: 1. Create a select box with multiple options 2. Have one option with over two thousand characters in its text 3. Click on the select box 4. Clicking on any option in an area towards the left of the select box Actual results: 1. The list of options increases in length on both the left and the right of the select box 2. Clicking any option in an area towards the left of the select box closes the options list without setting the select box to the option 2. Clicking any option in an area towards the right of the select box sets the select box to the option Expected results: 1. The list of options increases in length only towards the right of the select box 2. Clicking any option in any area sets the select box to the option Notes: The behaviour can be experimented with here: http://scratchpad.io/terrific-station-3670 I've created two boxes, one with regular sized options and one with a really large option.
Comment 1•9 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0 20151029151421 Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:43.0) Gecko/20100101 Firefox/43.0 20151201152349 The select box expands off-screen, but only on the right side. Clicking either side of the option works properly. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0 20151203004003 With e10s enabled, clicking either select element does nothing. With e10s disabled, same behavior as release and beta. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0 20151203053521 With e10s enabled, the select box expands to fill the screen in both directions. On the right side, the string is truncated with an ellipsis. Clicking either side of the option works properly. With e10s disabled, same behavior as release and beta.
Updated•9 years ago
|
tracking-e10s:
--- → ?
Comment 2•9 years ago
|
||
On Mac, I can confirm the problem almost as reported, in non-e10s mode, in 41, 42, and nightly. Clicking on the left-ish side of the options in the dropdown doesn't select them (but also doesn't close the dropdown, for me). Mats, any idea what's going on here?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mats)
Comment 3•9 years ago
|
||
The testcase works fine on Linux, in non-e10s mode, and I don't see any assertions in a debug build. So it might be Widget:Cocoa bug?
Severity: normal → minor
Component: Layout: Form Controls → Widget: Cocoa
Flags: needinfo?(mats)
Comment 4•9 years ago
|
||
> So it might be Widget:Cocoa bug?
Could be. In a debug build I see no anything when clicking on the left side there; just no response....
Comment 6•9 years ago
|
||
Don't think so, but this appears to be non-e10s only? I can't reproduce on OS X nightly with e10s.
Flags: needinfo?(gwright)
Comment 7•9 years ago
|
||
this is non-e10s. Is it a recent regression?
Keywords: regressionwindow-wanted
Comment 8•9 years ago
|
||
For what it's worth, I can reproduce this bug on Firefox 42.0, so it doesn't seem that recent to me.
Comment 10•9 years ago
|
||
Basically, it appears that the dropdown menu used to be left-aligned with the edge of the select box when things worked correctly, then it regressed when the dropdown menu positioning changed to take up the whole screen. The dividing line between clicking working and not working remains the left edge of the select box. Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=895f66c4eada&tochange=85f561c755f6 Too old for inbound bisection. While DLBI (or one of the patches that landed alongside it) makes for a good candidate, bug 674373 seems more likely. I suppose it would be interesting to test this on a non-Retina Mac and see what happens.
Flags: needinfo?(jfkthame)
Keywords: regressionwindow-wanted → regression
Comment 11•9 years ago
|
||
I don't think retina vs non-retina makes any difference here; or at least, opening Nightly in low-res mode (on my retina Mac) still shows the same behavior. It does seem likely that bug 674373 is involved, though, as the patches there will have touched codepaths that are relevant to popup placement and event handling regardless of the resolution. I'll leave needinfo? on myself to remind me to look into this, but won't have time in the immediate future; so if someone else has a chance to dig in, please feel free to go ahead!
Updated•8 years ago
|
Priority: -- → P4
Whiteboard: tpi:+
Comment 12•8 years ago
|
||
Stephen, maybe you'd be interested in taking a look? :)
Flags: needinfo?(spohl.mozilla.bugs)
Comment 13•8 years ago
|
||
I thought I could reproduce this a few weeks ago, but I can no longer reproduce with a recent local build from m-c. Can anyone still reproduce in a recent nightly?
Flags: needinfo?(spohl.mozilla.bugs)
Comment 14•7 years ago
|
||
WFM based on comment 13. Feel free to reopen if you can still reproduce.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jfkthame)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•