Closed
Bug 441666
Opened 16 years ago
Closed 16 years ago
Filter dialog fails to list newsgroups
Categories
(Thunderbird :: Mail Window Front End, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0a3
People
(Reporter: jcranmer, Assigned: jcranmer)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
Trying to do some testing for bug 419143, when I came across the fact that the filter dialog was unable to select a folder for message filters.
Although I am hesitant to request something blocking-a2 at this point, any news user will hit this instantly which makes triaging many filters difficult, since many users prefer newsgroup filters.
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0a2?
Comment 1•16 years ago
|
||
I have my news.mozilla.org account listed in the tree, though, I'm seeing other errors in the dialog. Given http://mxr.mozilla.org/seamonkey/source/mail/base/content/mail-folder-bindings.xml#107 I'm surprised about this bug, since it should return true for all news accounts.
Assignee | ||
Comment 2•16 years ago
|
||
The news account appears, but what doesn't appear is the specific newsgroups underneath the news account.
Assignee | ||
Comment 3•16 years ago
|
||
On closer analysis, I think this is a regression of an older bug...
Assignee | ||
Comment 4•16 years ago
|
||
Not taking this bug, but this is some preliminary work for whoever does work on this.
What's not fixed are these:
1. I don't know how to use the DOM to create a reference to the entity, short of just slapping in an innerHTML statement.
2. Selection doesn't appear to work right, but it didn't before this patch anyways; I can't tell if it's the same issue though.
Comment 5•16 years ago
|
||
Comment on attachment 326734 [details] [diff] [review]
First start
+ // Set up the first rows
+ var headNode = document.createElement("menuitem");
+ // this ain't quite right
+ headNode.setAttribute("label", "&choosethisnewsserver.label;");
+ headNode._folder = folder;
+ popup.appendChild(headNode);
+ popup.appendChild(document.createElement("menuseparator"));
Use showFileHere="true" and fileHereLabel="&foo;" to accomplish this.
Updated•16 years ago
|
Flags: blocking-thunderbird3.0a2? → blocking-thunderbird3.0b1?
Updated•16 years ago
|
Flags: wanted-thunderbird3+
Flags: blocking-thunderbird3?
Flags: blocking-thunderbird3.0b1?
Flags: blocking-thunderbird3.0b1-
Flags: blocking-thunderbird3-
Comment 6•16 years ago
|
||
Joshua, are you able to take this?
Priority: -- → P1
Target Milestone: --- → Thunderbird 3.0b1
Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6)
> Joshua, are you able to take this?
I'll try tackling this within the next week.
Updated•16 years ago
|
Assignee: nobody → Pidgeot18
Assignee | ||
Updated•16 years ago
|
Whiteboard: [needs discussion]
Assignee | ||
Comment 8•16 years ago
|
||
It feels like every time I fix an issue 2 more crop up...
1. I'm pretty sure that some errors outside this bug already exist.
2. The bigger problem is that in his zeal to rid the filter dialog of RDF, jminta completely ignored the issue that folders can have filters, meaning that servers are passed around everywhere instead of folders (the root folder representing the server). Fixing this is going to take a bit.
3. Bitrot galore.
4. I now have the labels and other UI working, and in a way that I think is satisfactory (modulo what to do in an error case). What I don't have is the backend.
Assignee | ||
Comment 9•16 years ago
|
||
This essentially attempts to bring the filter dialog back to the TB 2.0 model, and allows for extensibility in the modification of mail-folder-bindings.xml.
I'm pretty sure we have another bug going on with RSS accounts in the filter dialog (the "run filters on" menu seems to be causing an error), but that's outside the scope of this bug.
Attachment #326734 -
Attachment is obsolete: true
Attachment #335660 -
Flags: superreview?(bienvenu)
Attachment #335660 -
Flags: review?(bienvenu)
Comment 10•16 years ago
|
||
Comment on attachment 335660 [details] [diff] [review]
Patch, v1
- * @param aServer the nsIMsgIncomingServer that was selected
+ * @param aFolder the nsIMsgIncomingServer that was selected
this comment seems wrong
+ * is a comma-delimited list of labels corresponding in order with
+ * the servers to expand form expandFolders.
"expand from" ?
Is it considered good js style to redeclar vars like this?
+ var shouldExpand = function (e) { return true; };
+ } else if (this.getAttribute("expandFolders") == "false") {
+ var shouldExpand = function (e) { return false; };
similarly with labels below?
I've tried the patch and it seems to work well, so I just have those style questions...
Updated•16 years ago
|
Severity: blocker → major
Target Milestone: Thunderbird 3.0b1 → Thunderbird 3.0b2
Assignee | ||
Comment 11•16 years ago
|
||
Updated the patch with bienvenu's style comments.
Attachment #335660 -
Attachment is obsolete: true
Attachment #336089 -
Flags: superreview?(bienvenu)
Attachment #336089 -
Flags: review?(bienvenu)
Attachment #335660 -
Flags: superreview?(bienvenu)
Attachment #335660 -
Flags: review?(bienvenu)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [might not make it] → [needs review bienvenu]
Updated•16 years ago
|
Attachment #336089 -
Flags: superreview?(bienvenu)
Attachment #336089 -
Flags: superreview+
Attachment #336089 -
Flags: review?(bienvenu)
Attachment #336089 -
Flags: review+
Comment 12•16 years ago
|
||
Comment on attachment 336089 [details] [diff] [review]
Updated patch
thx, Joshua
Assignee | ||
Comment 13•16 years ago
|
||
Checked in, changeset cfaac96a1c73.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [needs review bienvenu]
Assignee | ||
Updated•16 years ago
|
Target Milestone: Thunderbird 3.0b2 → Thunderbird 3.0b1
You need to log in
before you can comment on or make changes to this bug.
Description
•