Closed
Bug 1055702
Opened 10 years ago
Closed 9 years ago
<menupopup> for <menulist> appears at the wrong position under some circumstances
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: obrufau, Unassigned)
References
Details
(Keywords: reproducible, testcase)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release) Build ID: 20140819030202 Steps to reproduce: Open the attached demo, and open the dropdowns. Actual results: The 2nd and 3rd dropdowns are opened at a wrong position. Expected results: <menupopup> should appear just below <menulist>
Updated•10 years ago
|
Component: XUL → XP Toolkit/Widgets: Menus
Comment 1•10 years ago
|
||
tn, do you have time to have a look at this? This is broken on 31 and 34 alike, so I don't think bug 467442 regressed this (that's in 33) so I'm not sure what's up yet, but I presume it's the same/similar code that's getting confused about something or other...
Status: UNCONFIRMED → NEW
status-firefox31:
--- → affected
status-firefox32:
--- → affected
status-firefox33:
--- → affected
status-firefox34:
--- → affected
Ever confirmed: true
Flags: needinfo?(tnikkel)
Keywords: reproducible,
testcase
OS: Windows XP → All
Hardware: x86 → All
Summary: <menupopup> may appear at a wrong position → <menupopup> for <menulist> appears at the wrong position under some circumstances
(In reply to :Gijs Kruitbosch from comment #1) > tn, do you have time to have a look at this? This is broken on 31 and 34 > alike, so I don't think bug 467442 regressed this (that's in 33) so I'm not > sure what's up yet, but I presume it's the same/similar code that's getting > confused about something or other... Oh, I forgot to mention I could reproduce that on old Firefox 3, and even firefox 2, which displays the page differently, has some problems opening the dropdowns.
Comment 3•10 years ago
|
||
on Windows7, I am able to reproduce the problem on 3rd dropdown only. I get the following regression window. Regression window(m-i) Good: https://hg.mozilla.org/integration/mozilla-inbound/rev/7cf9ff845a1e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 ID:20140702134153 Bad: https://hg.mozilla.org/integration/mozilla-inbound/rev/0f7f4d5f5e45 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 ID:20140702135755 pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7cf9ff845a1e&tochange=0f7f4d5f5e45 Suspect: 290b06120a69 Susanna Bowen — Bug 1033052 - Call SetRect in ReflowFrame since the old rect does not need to be preserved. r=dbaron
Blocks: 1033052
Flags: needinfo?(sgbowen8)
Comment 4•10 years ago
|
||
[Tracking Requested - why for this release]: regression sing Firefox33 on least windows7
status-firefox35:
--- → affected
status-firefox36:
--- → affected
tracking-firefox34:
--- → ?
tracking-firefox35:
--- → ?
tracking-firefox36:
--- → ?
Component: XP Toolkit/Widgets: Menus → Layout
Comment 5•10 years ago
|
||
From comment 1 and comment 2 I take it this issue goes back much farther than 33. If that's the case, I'm reluctant to consider a fix this late in Firefox 34 and would prefer to take a fix in Firefox 35. I'm leaving 34 as a nom for now. I have also nommed ESR, although I'm not aware of any feedback from ESR users suggesting that we need to take a fix there.
status-firefox-esr31:
--- → affected
tracking-firefox-esr31:
--- → ?
Neil, any chance you'd be able to look at this? Seems to be a regression from a slight (and long-overdue) change in the way we Reflow frames.
Flags: needinfo?(enndeakin)
Comment 7•10 years ago
|
||
We're going to build with the final 34 beta tomorrow. I haven't seen progress in this bug and think we can reasonably ship again with this bug. I'm marking 34 as won't fix. I also haven't heard any ESR feedback about this issue so think we shouldn't track for ESR at this point. We can still consider a simple fix for ESR.
Comment 8•10 years ago
|
||
Multiple reflows occur when the popup is opened. The first reflow is correct. The second however reflows the popup with the parent frame at its unwrapped position. That is, aAnchorFrame->GetRect() returns an xy position that is where the the menu button anchor would be if it had not wrapped to the second line. Some more reflows occur alternating between the two results, with the incorrect result occurring last.
Flags: needinfo?(enndeakin)
Comment 9•10 years ago
|
||
This has been in-product for a significant duration so I'm untracking, we can consider a low risk uplift if/when something is nominated. This would not be considered for ESR without explicit requests from ESR user base.
Comment 10•9 years ago
|
||
Another example <button type="menu">.
Comment 11•9 years ago
|
||
Bug 1130400 should likely fix this.
Depends on: 1130400
Flags: needinfo?(tnikkel)
Reporter | ||
Comment 12•9 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #11) > Bug 1130400 should likely fix this. True, seems fixed now. (In reply to Alice0775 White from comment #3) > on Windows7, I am able to reproduce the problem on 3rd dropdown only. I get > the following regression window. > > https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=7cf9ff845a1e&tochange=0f7f4d5f5e45 Weird. Now it's the same for me, on the same system where I could reproduce the bug with much older Firefox versions. Maybe some Windows update changed something? In that case, maybe now seems fixed, but it isn't for those without the update. Should this be investigated?
Updated•9 years ago
|
Flags: needinfo?(sgbowen8)
Updated•9 years ago
|
Flags: needinfo?(gijskruitbosch+bugs)
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•