Closed Bug 953430 Opened 11 years ago Closed 11 years ago

tapping on completed download button under about:start produces a blank app bar

Categories

(Firefox for Metro Graveyard :: Downloads, defect, P2)

x86_64
Windows 8.1
defect

Tracking

(firefox28 verified, firefox29 verified)

VERIFIED FIXED
Firefox 29
Tracking Status
firefox28 --- verified
firefox29 --- verified

People

(Reporter: kjozwiak, Assigned: mbrubeck)

References

Details

(Whiteboard: [beta28] [defect] p=2 )

Attachments

(2 files)

When you tap on the completed download button under the about:start screen, you'll get a blank app bar above the app bar that presents users with the "Open", "Open in folder" and "X" buttons. I can reproduce this with both Nightly 29 and Aurora 28 (builds listed below) - Attached a screenshot to illustrate the issue Steps to reproduce the issue: 1) Open Firefox Metro (either Nightly or Aurora) 2) Download something from any website (I used VLC in this case) 3) Once the download is completed, close your current tab and you should be re-directed to the about:start screen 4) Notice that the download button is still visible, tap on the download button and you'll see the blank app bar above the first app bar Current Behavior: - When a user taps on the completed download button under the about:start screen, they will get two app bars. The one at the top will be completely blank Expected Behavior: - When a user taps on the completed download button, they should only receive a single app bar with "Open", "Open in folder" and "X" options. Used the following builds to find the issue: - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-12-28-03-02-04-mozilla-central/ - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-12-29-00-40-02-mozilla-aurora/
Blocks: metrov1backlog
No longer blocks: 83808
Whiteboard: [triage] [defect] p=0 → [release28] [defect] p=0
I'm planning to work on this in the current iteration, p=2.
Assignee: nobody → mbrubeck
Status: NEW → ASSIGNED
Blocks: metrov1it22
No longer blocks: metrov1backlog
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [release28] [defect] p=0 → [beta28] [defect] p=2
Attached patch patchSplinter Review
This happened because we had two separate ways to move the browser above the navbar on about:start. In browser.css we set "padding-bottom" on the <browser>, and in ContentAreaObserver we set the "height" of the <notificationbox>. When both were applied at once, it doubled the padding. This patch makes both rules set "padding-bottom" on the <notificationbox>, so the results will be be the same whether one or both are set. After making that change, I also found that the style wasn't always removed at the correct time, because ContentAreaObserver.update would bail out if the window size hadn't changed. So this patch also makes the notification check in updateContentArea run unconditionally.
Attachment #8359525 - Flags: review?(msamuel)
Comment on attachment 8359525 [details] [diff] [review] patch Review of attachment 8359525 [details] [diff] [review]: ----------------------------------------------------------------- Just one comment for something to consider but otherwise looks good! ::: browser/metro/theme/browser.css @@ +188,5 @@ > } > > /* Start UI ----------------------------------------------------------------- */ > > +#content-viewport[startpage] .active-tab-notificationbox { I'm wondering if we could completely get rid of this (and the changes in browser.js) since now we set padding-bottom in ContentAreaObserver.js?
Attachment #8359525 - Flags: review?(msamuel) → review+
(In reply to Marina Samuel [:emtwo] from comment #3) > I'm wondering if we could completely get rid of this (and the changes in > browser.js) since now we set padding-bottom in ContentAreaObserver.js? Yeah, I think we should clean up this code, though I'd like to stick with this minimal change for now to try to minimize any risk of new regressions on Aurora. I'd kind of like to move more of this into CSS, by setting attributes that we can determine entirely with CSS selectors whether the padding should be present.
Summary: taping on completed download button under about:start produces a blank app bar → tapping on completed download button under about:start produces a blank app bar
Whiteboard: [beta28] [defect] p=2 → [beta28] [defect] p=2 [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [beta28] [defect] p=2 [fixed-in-fx-team] → [beta28] [defect] p=2
Target Milestone: --- → Firefox 29
Comment on attachment 8359525 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): Metro Firefox User impact if declined: Cosmetic glitch on start page during file download. Testing completed (on m-c, etc.): Landed on m-c on 01-14. Risk to taking this patch (and alternatives if risky): Low-risk, Metro-only. String or IDL/UUID changes made by this patch: None.
Attachment #8359525 - Flags: approval-mozilla-aurora?
Attachment #8359525 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Kamil, please verify this is fixed in the latest Nightly and Aurora builds.
Flags: needinfo?(kamiljoz)
Went through the following issue for verification during iteration #22. Used the following builds: - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-01-25-00-40-03-mozilla-aurora/ - http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-01-25-03-02-05-mozilla-central/ - Went through the original test case from comment #0 and ensured that the extra white app bar doesn't appear above the "Download App Bar" - Ensured that taping/clicking on the "Download Complete" button correctly slides in the "Download App Bar" without any issues - Ensured that all the buttons available under the "Download App Bar" are working correctly before the download is initialized (Open, Save, Cancel, "X") - Ensured while the download is in progress, taping/clicking on the "X" dismisses the "Download App Bar" but doesn't cancel the download - Ensured while the download is in progress, taping/clicking on "Cancel" correctly cancels the download and dismisses the "Download App Bar" (ensured that the download button isn't visible after the cancellation) - Ensured that taping/clicking on "Show in Files" switches to the windows environment and opens the "download" path using File Explorer - Ensured that the "Download App Bar" slides into view when the download is completed if the "Navigation App Bar" isn't visible - Ensured that you can browse while the download is in progress without any issues - Went through all of the above test cases using different variations of snapped view Found the following issues when going through this issue: - Bug 964002
Status: RESOLVED → VERIFIED
Flags: needinfo?(kamiljoz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: