Closed
Bug 798810
Opened 13 years ago
Closed 13 years ago
Promotional content blurbs can overlap each other when downloading over dial-up/slow speeds
Categories
(Firefox :: Installer, defect)
Tracking
()
VERIFIED
FIXED
Firefox 19
| Tracking | Status | |
|---|---|---|
| firefox18 | --- | fixed |
People
(Reporter: stephend, Assigned: robert.strong.bugs)
References
Details
(Whiteboard: [stub=])
Attachments
(2 files, 2 obsolete files)
|
1.33 MB,
image/png
|
Details | |
|
3.69 KB,
patch
|
robert.strong.bugs
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Over a really slow connection, the stub installer's dynamically-changing promotional content (text/graphics) can overlap; see screenshot.
(To test this, I was in a VM and rate-limited my connection to dial-up speeds, essentially).
Updated•13 years ago
|
Whiteboard: [stub+]
Updated•13 years ago
|
Whiteboard: [stub+] → [stub=]
| Assignee | ||
Comment 2•13 years ago
|
||
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #670710 -
Flags: review?(netzen)
Updated•13 years ago
|
Attachment #670710 -
Flags: review?(netzen) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 670710 [details] [diff] [review]
patch rev1
Preemptively requesting aurora for this
Attachment #670710 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #670710 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 670710 [details] [diff] [review]
patch rev1
I'm going to hold off on this one.
Attachment #670710 -
Flags: review+
Attachment #670710 -
Flags: approval-mozilla-aurora+
Comment 5•13 years ago
|
||
I can't reproduce this anymore on three different Windows operating systems. Our funnelcake beta testing didn't show this anymore either. Maybe bug 800112 fixed this?
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•13 years ago
|
||
I'm fairly certain I have a way to reproduce this and I was able to with all of the patches that landed so I'm going to reopen
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 7•13 years ago
|
||
This is cleaner and just addresses this bug
Attachment #670710 -
Attachment is obsolete: true
Attachment #671732 -
Flags: review?(netzen)
Comment 8•13 years ago
|
||
Comment on attachment 671732 [details] [diff] [review]
patch rev2
Review of attachment 671732 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/installer/windows/nsis/stub.nsi
@@ +1328,5 @@
> Exec "$\"$0$\""
> FunctionEnd
>
> +Function DisplayDownloadError
> + ${NSD_KillTimer} DisplayDownloadError
nit: I think we should add this call to .onUserAbort as well
@@ +1341,5 @@
> + ${If} ${Errors}
> + Call OpenManualDownloadURL
> + ${Else}
> + GetFunctionAddress $0 OpenManualDownloadURL
> + UAC::ExecCodeSegment $0
Good call we don't want to do this when elevated.
On a side note, this will still launch elevated if the user right clicked on the installer to run as administrator, but if we were handling that we'd have other fixes too. And it can not be handled easily.
Attachment #671732 -
Flags: review?(netzen) → review+
| Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #8)
> Comment on attachment 671732 [details] [diff] [review]
> patch rev2
>
> Review of attachment 671732 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/installer/windows/nsis/stub.nsi
> @@ +1328,5 @@
> > Exec "$\"$0$\""
> > FunctionEnd
> >
> > +Function DisplayDownloadError
> > + ${NSD_KillTimer} DisplayDownloadError
>
> nit: I think we should add this call to .onUserAbort as well
Good catch
> @@ +1341,5 @@
> > + ${If} ${Errors}
> > + Call OpenManualDownloadURL
> > + ${Else}
> > + GetFunctionAddress $0 OpenManualDownloadURL
> > + UAC::ExecCodeSegment $0
>
> Good call we don't want to do this when elevated.
>
> On a side note, this will still launch elevated if the user right clicked on
> the installer to run as administrator, but if we were handling that we'd
> have other fixes too. And it can not be handled easily.
Way back when we grabbed the user's desktop token to accomplish this in a few places but the token was never the same as what should have been used. I considered doing that for the installer but the amount of work and code to maintain doesn't seem worth it since the vast majority don't do this.
Comment 10•13 years ago
|
||
(In reply to Robert Strong [:rstrong] (do not email) from comment #9)
> (In reply to Brian R. Bondy [:bbondy] from comment #8)
> > Comment on attachment 671732 [details] [diff] [review]
> > patch rev2
> >
> > Review of attachment 671732 [details] [diff] [review]:
> > ----------------------------------------------------
> >
> > On a side note, this will still launch elevated if the user right clicked on
> > the installer to run as administrator, but if we were handling that we'd
> > have other fixes too. And it can not be handled easily.
> Way back when we grabbed the user's desktop token to accomplish this in a
> few places but the token was never the same as what should have been used. I
> considered doing that for the installer but the amount of work and code to
> maintain doesn't seem worth it since the vast majority don't do this.
Yup I think you could do it via grabbing the linked token, but limited user accounts would be an edge case, and yup not worth it, and yup the fix wouldn't be in this bug since there are multiple places where this happens.
| Assignee | ||
Comment 11•13 years ago
|
||
Carrying forward r+
Thanks for the review!
Attachment #671732 -
Attachment is obsolete: true
Attachment #671742 -
Flags: review+
| Assignee | ||
Comment 12•13 years ago
|
||
Pushed to mozilla-inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/610908ff1d38
Status: REOPENED → ASSIGNED
Comment 13•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago → 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
| Assignee | ||
Comment 14•13 years ago
|
||
Comment on attachment 671742 [details] [diff] [review]
patch - updated to comments
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Stub Installer bug 322206
User impact if declined: Content blurbs overlapped when showing download error msg
Testing completed (on m-c, etc.): baked on m-c and tested locally
Risk to taking this patch (and alternatives if risky): Little risk
String or UUID changes made by this patch: none
Attachment #671742 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #671742 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 15•13 years ago
|
||
Pushed to mozilla-aurora
https://hg.mozilla.org/releases/mozilla-aurora/rev/a232eca6b24c
status-firefox18:
--- → fixed
| Reporter | ||
Updated•13 years ago
|
QA Contact: jsmith → jbecerra
Comment 16•13 years ago
|
||
Followup in bug 808118. Tough to reproduce this bug now, but it's still possible.
Updated•13 years ago
|
Whiteboard: [stub=] → [stub=], [qa verification blocked]
Comment 17•13 years ago
|
||
Verified per comment in bug 808118.
Status: RESOLVED → VERIFIED
Whiteboard: [stub=], [qa verification blocked] → [stub=]
You need to log in
before you can comment on or make changes to this bug.
Description
•