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)

18 Branch
x86
Windows 7
defect
Not set
normal

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)

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).
Whiteboard: [stub+]
Whiteboard: [stub+] → [stub=]
Attached patch patch rev1 (obsolete) — Splinter Review
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #670710 - Flags: review?(netzen)
Attachment #670710 - Flags: review?(netzen) → review+
Comment on attachment 670710 [details] [diff] [review] patch rev1 Preemptively requesting aurora for this
Attachment #670710 - Flags: approval-mozilla-aurora?
Attachment #670710 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
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+
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
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 → ---
Attached patch patch rev2 (obsolete) — Splinter Review
This is cleaner and just addresses this bug
Attachment #670710 - Attachment is obsolete: true
Attachment #671732 - Flags: review?(netzen)
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+
(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.
(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.
Carrying forward r+ Thanks for the review!
Attachment #671732 - Attachment is obsolete: true
Attachment #671742 - Flags: review+
Status: REOPENED → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Keywords: verifyme
QA Contact: jsmith
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?
Attachment #671742 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
QA Contact: jsmith → jbecerra
Followup in bug 808118. Tough to reproduce this bug now, but it's still possible.
Depends on: 808118
Keywords: verifyme
QA Contact: jbecerra → jsmith
Whiteboard: [stub=] → [stub=], [qa verification blocked]
No longer depends on: 808118
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.

Attachment

General

Created:
Updated:
Size: