Closed
Bug 1020505
Opened 10 years ago
Closed 10 years ago
Regression: Browser menu has width issues
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox31 unaffected, firefox32 unaffected, firefox33 unaffected, firefox34+ verified, firefox35 verified, fennec34+)
VERIFIED
FIXED
Firefox 35
Tracking | Status | |
---|---|---|
firefox31 | --- | unaffected |
firefox32 | --- | unaffected |
firefox33 | --- | unaffected |
firefox34 | + | verified |
firefox35 | --- | verified |
fennec | 34+ | --- |
People
(Reporter: rnewman, Assigned: lucasr)
References
Details
(Keywords: regression, reproducible)
Attachments
(2 files)
177.62 KB,
image/png
|
Details | |
1.33 KB,
patch
|
Margaret
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Note how Request Desktop Site's checkbox hangs off the right hand side. Quickshare backout regression?
Comment 1•10 years ago
|
||
What device? Could be a layout XML issue for your DPI, blah, blah, blah.
Reporter | ||
Comment 2•10 years ago
|
||
HTC One M7, KitKat.
Comment 3•10 years ago
|
||
Oddly, on my Samsung Galaxy S5 (Android 4.4.4), I see this only on Nightly .. unless something triggers this. The checkbox on my S5 is even further pushed off-screen from the screenshot attached.
tracking-fennec: --- → ?
status-firefox33:
--- → ?
status-firefox34:
--- → affected
Summary: Main menu in 31 has width issues → Regression: Browser menu has width issues
Comment 4•10 years ago
|
||
Also see this on my Nexus 5 (Nightly (08/19)). Mihai, can you help with a regression range here if you can reproduce?
Flags: needinfo?(mihai.g.pop)
2014-08-14 - good 2014-08-15 - bad http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5299864050ee&tochange=c9f8cc9ce89c
Flags: needinfo?(mihai.g.pop)
1408067296 - good 1408071493 - bad http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=f9c51223ffc9&tochange=842b44860ee2 I was only able to reproduce this issue on LG Nexus 4(Android 4.4.4).
Keywords: regressionwindow-wanted
Comment 7•10 years ago
|
||
Can you check fxteam?
1408045988 - good 1408047848 - bad http://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=070d5351ed82&tochange=b9fc8a08a0c2 It seems that Bug 1042829 - Update Android SDK and build tools to 20 , caused this regression
Updated•10 years ago
|
Assignee | ||
Comment 10•10 years ago
|
||
Clearing NEEDINFO. I'm taking a look at this.
Flags: needinfo?(wjohnston)
Updated•10 years ago
|
Status: NEW → ASSIGNED
Updated•10 years ago
|
QA Contact: aaron.train
Assignee | ||
Comment 13•10 years ago
|
||
Assignee | ||
Comment 14•10 years ago
|
||
Comment on attachment 8482845 [details] [diff] [review] Don't truncate the menu popup width (r=margaret) Not entirely sure what's causing the problem but removing the redundant MeasureSpec from the setWindowLayoutMode() call fixes. We set the width explicitly in menu_popup.xml already. Using WRAP_CONTENT is actually the right thing to do here. My guess is that PopupWindow doesn't deal very well with AT_MOST measure specs. I can dive deeper into PopupWindow's source code but I'm happy to land this as an immediate fix.
Attachment #8482845 -
Flags: review?(margaret.leibovic)
Comment 15•10 years ago
|
||
Careful. This was put in to fix bug 775272.
Comment 16•10 years ago
|
||
(In reply to Wesley Johnston (:wesj) from comment #15) > Careful. This was put in to fix bug 775272. It looks like that patch also added the explicit width in menu_popup.xml. I'm not sure why that wouldn't have been enough to fix the issue, but it sounds like it wasn't in bug 775272 comment 6. Lucas, can you make sure this patch doesn't regress the fix from bug 775272?
Flags: needinfo?(lucasr.at.mozilla)
Assignee | ||
Comment 17•10 years ago
|
||
(In reply to :Margaret Leibovic from comment #16) > (In reply to Wesley Johnston (:wesj) from comment #15) > > Careful. This was put in to fix bug 775272. > > It looks like that patch also added the explicit width in menu_popup.xml. > I'm not sure why that wouldn't have been enough to fix the issue, but it > sounds like it wasn't in bug 775272 comment 6. > > Lucas, can you make sure this patch doesn't regress the fix from bug 775272? Tested on a phone with L and a tablet with KitKat. Works fine. It would be nice if we could test this on devices with ICS and JB just to be safe. Aaron, do you have tablets & phones running ICS and JB to this APK? Just want to make sure this patch doesn't regress the fix from bug 775272. https://dl.dropboxusercontent.com/u/1187037/fennec-menu-fix.apk
Flags: needinfo?(lucasr.at.mozilla) → needinfo?(aaron.train)
Comment 18•10 years ago
|
||
I'll take a look, but Mihai, can you guys take a look too?
Flags: needinfo?(aaron.train) → needinfo?(mihai.g.pop)
Comment 19•10 years ago
|
||
It looks to be fixed, tested with Lucas build on: LG Nexus 4(Android 4.4.4) Alcatel One Touch(Android 4.1.2) Samsung Galaxy Tab 2(Android 4.2.2) LG Optimus 4X(Android 4.1.2)
Flags: needinfo?(mihai.g.pop)
Comment 20•10 years ago
|
||
Comment on attachment 8482845 [details] [diff] [review] Don't truncate the menu popup width (r=margaret) Review of attachment 8482845 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for testing. This change seems fine, maybe this part of the patch wasn't actually necessary for bug 775272.
Attachment #8482845 -
Flags: review?(margaret.leibovic) → review+
Assignee | ||
Comment 21•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/182716b666bf
https://hg.mozilla.org/mozilla-central/rev/182716b666bf
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Assignee | ||
Comment 23•10 years ago
|
||
Comment on attachment 8482845 [details] [diff] [review] Don't truncate the menu popup width (r=margaret) Approval Request Comment [Feature/regressing bug #]: bug 1042829 [User impact if declined]: App menu looks broken. [Describe test coverage new/current, TBPL]: Looks fine in Nightly. [Risks and why]: Low, just changing the way a dialog is sized. [String/UUID change made/needed]: n/a
Attachment #8482845 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
status-firefox35:
--- → verified
Updated•10 years ago
|
tracking-firefox34:
--- → +
Comment 24•10 years ago
|
||
Comment on attachment 8482845 [details] [diff] [review] Don't truncate the menu popup width (r=margaret) Aurora+
Attachment #8482845 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 26•10 years ago
|
||
Verified as fixed in Build: Firefox for Android 34.0a2 (2014-09-17) Device: Nexus 4 Android 4.4.4
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•