Closed Bug 795097 Opened 12 years ago Closed 12 years ago

the News "Download headers" dialog should use a numeric field for the number of headers to download.

Categories

(MailNews Core :: Networking: NNTP, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 18.0

People

(Reporter: aceman, Assigned: aceman)

Details

(Keywords: polish)

Attachments

(1 file, 2 obsolete files)

The News "Download headers" dialog should use a numeric field for the number of headers to download. Currently it is a plain text field and letters can be input into it.
Attached patch patch (obsolete) — Splinter Review
Attachment #665638 - Flags: ui-review?(bwinton)
Attachment #665638 - Flags: review?(iann_bugzilla)
Severity: normal → trivial
Status: NEW → ASSIGNED
Comment on attachment 665638 [details] [diff] [review] patch I think we should set the upper limit to the number of messages in the newsgroup. (Otherwise you can get "There are 5 new messages in this newsgroup. Download 99999 headers?" ;) Aside from that, it seems good. ui-r=me.
Attachment #665638 - Flags: ui-review?(bwinton) → ui-review+
Attached patch patch v2 (obsolete) — Splinter Review
It probably doesn't hurt but OK, let's make that refinement :) I still think the dialog does not show up sometimes when it should, but that is a different issue.
Attachment #665638 - Attachment is obsolete: true
Attachment #665638 - Flags: review?(iann_bugzilla)
Attachment #666712 - Flags: review?(Pidgeot18)
Comment on attachment 666712 [details] [diff] [review] patch v2 Review of attachment 666712 [details] [diff] [review]: ----------------------------------------------------------------- ::: mailnews/news/content/downloadheaders.js @@ +40,5 @@ > } > > numberElement = document.getElementById("number"); > numberElement.value = nntpServer.maxArticles; > + numberElement.max = args.articleCount; The result of numberElement gets saved into the maximum chunking count for header download, so there are use cases for setting it higher than the number of unretreived articles. Don't set the max here.
Attachment #666712 - Flags: review?(Pidgeot18) → review+
Attached patch patch v3Splinter Review
OK, thanks.
Attachment #666712 - Attachment is obsolete: true
Attachment #667046 - Flags: review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 18.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: