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)
MailNews Core
Networking: NNTP
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 18.0
People
(Reporter: aceman, Assigned: aceman)
Details
(Keywords: polish)
Attachments
(1 file, 2 obsolete files)
2.75 KB,
patch
|
aceman
:
review+
|
Details | Diff | Splinter Review |
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.
Attachment #665638 -
Flags: ui-review?(bwinton)
Attachment #665638 -
Flags: review?(iann_bugzilla)
Comment 2•12 years ago
|
||
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+
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 4•12 years ago
|
||
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+
OK, thanks.
Attachment #666712 -
Attachment is obsolete: true
Attachment #667046 -
Flags: review+
Keywords: checkin-needed
Comment 6•12 years ago
|
||
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.
Description
•