Closed
Bug 664114
Opened 12 years ago
Closed 12 years ago
Context Menu doesn't resize properly when switching the window orientation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox5 fixed, firefox6 fixed, fennec5+)
VERIFIED
FIXED
Firefox 7
People
(Reporter: xti, Assigned: mfinkle)
Details
(Keywords: verified-beta, Whiteboard: [regression][fennec 5.0b6])
Attachments
(3 files)
43.00 KB,
image/png
|
Details | |
10.94 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
2.08 KB,
patch
|
wesj
:
review+
mbrubeck
:
review+
mfinkle
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:5.0)Gecko/20110613 Firefox/5.0 Fennec/5.0 Device: Motorola Droid 2 OS: Android 2.2 Steps to reproduce: 1. Open Fennec app 2. Go to http://slickdeals.net/ 3. Long tap on Tap and hold down on the Slickdeals banner image link 4. Switch device to landscape Expected result: Context Menu resize properly due to device orientation changes at step 4. Actual result: The Context Menu does not resize when switching the orientation.
Reporter | ||
Updated•12 years ago
|
Whiteboard: [regression][fennec 5.0b6]
Reporter | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
What's wrong with the screen shot? It seems like the context menu has changed it's size, right?
Assignee | ||
Comment 3•12 years ago
|
||
Oh, I see what you mean. The height overflows.
Assignee | ||
Comment 4•12 years ago
|
||
I found two problems: menu overflows and context hint (the url on first row) is white-on-white Fixes in this patch include: * Adds the color / background-color to the right elements (context-header gets the background and share-hint / context-hint get color) * Fixes the overflow issue by adding display: -moz-box to the context-commands richlistbox The match syncs the contextmenu and the menulist behaviors a bit too: * Adds flex to the container for the context container * Makes sizeToContent use the container padding to create the width for the popup * Makes sure sizetoContent is called before we make the panels visible, in case the richlistitems are larger than the window. We need to resize before they are visible or the UI will pan.
Assignee: nobody → mark.finkle
Attachment #539289 -
Flags: review?(wjohnston)
Assignee | ||
Updated•12 years ago
|
tracking-fennec: --- → ?
Comment 5•12 years ago
|
||
Comment on attachment 539289 [details] [diff] [review] patch Review of attachment 539289 [details] [diff] [review]: ----------------------------------------------------------------- Looks good! ::: mobile/chrome/content/common-ui.js @@ +1220,1 @@ > }, Can we rename this._panel to this._container?
Attachment #539289 -
Flags: review?(wjohnston) → review+
Assignee | ||
Comment 6•12 years ago
|
||
minimal fix needed to fix the overflow in mozilla-beta
Attachment #539333 -
Flags: review?(wjohnston)
Assignee | ||
Updated•12 years ago
|
Attachment #539333 -
Flags: review?(mbrubeck)
Updated•12 years ago
|
Attachment #539333 -
Flags: review?(mbrubeck) → review+
Updated•12 years ago
|
Attachment #539333 -
Flags: review?(wjohnston) → review+
Assignee | ||
Updated•12 years ago
|
tracking-fennec: ? → 5+
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 539333 [details] [diff] [review] patch for beta minimal beta patch. fennec-only. no nays from IRC and beta triage meeting.
Attachment #539333 -
Flags: approval-mozilla-beta+
Assignee | ||
Updated•12 years ago
|
Whiteboard: [regression][fennec 5.0b6] → [regression][fennec 5.0b6][inbound]
Comment 8•12 years ago
|
||
Backed out in http://hg.mozilla.org/integration/mozilla-inbound/rev/d05a24569346 due to a persistent failure in dom/tests/mochitest/dom-level0/test_innerWidthHeight_script.html on Android opt.
Whiteboard: [regression][fennec 5.0b6][inbound] → [regression][fennec 5.0b6]
Assignee | ||
Comment 9•12 years ago
|
||
(In reply to comment #8) > Backed out in > http://hg.mozilla.org/integration/mozilla-inbound/rev/d05a24569346 due to a > persistent failure in > dom/tests/mochitest/dom-level0/test_innerWidthHeight_script.html on Android > opt. Wes - can you think of any reason for this failure?
Comment 10•12 years ago
|
||
Verifying Fixed on the beta channel http://hg.mozilla.org/releases/mozilla-beta/rev/6eb872ce9e29 Mozilla/5.0 (Android; Linux armv7l; rv:5.0) Gecko/20110614 Firefox/5.0 Fennec/5.0 Leaving open re-landing on mozilla-inbound.
Keywords: verified-beta
Assignee | ||
Comment 11•12 years ago
|
||
(In reply to comment #8) > Backed out in > http://hg.mozilla.org/integration/mozilla-inbound/rev/d05a24569346 due to a > persistent failure in > dom/tests/mochitest/dom-level0/test_innerWidthHeight_script.html on Android > opt. Philipp - I notice the test failed for your backout too. Could it be intermittent?
Comment 12•12 years ago
|
||
My guess would be the other patch in the same push, http://hg.mozilla.org/integration/mozilla-inbound/rev/b9ee105d755c And note that you don't actually have just one test failure, you have that one, plus a timeout in browser_thumbnails.js that's being called intermittent but is actually permanent, and a timeout in twinopen.
Comment 13•12 years ago
|
||
Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/19e4a93ebff5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7
Assignee | ||
Updated•12 years ago
|
status-firefox6:
--- → affected
Assignee | ||
Updated•12 years ago
|
status-firefox5:
--- → fixed
Comment 14•12 years ago
|
||
VERIFIED FIXED on: Mozilla /5.0 (Android;Linux armv7l;rv:7.0a1) Gecko/20110621 Firefox/7.0a1 Fennec/7.0a1 Device: HTC Desire Z(Android 2.2) Note: "Not fixed on aurora"
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Restrict Comments: true
You need to log in
before you can comment on or make changes to this bug.
Description
•