Closed
Bug 993371
Opened 11 years ago
Closed 11 years ago
Instantly get and use favicon for feed after importing feeds from opml file or adding single feed manually, don't require restart
Categories
(MailNews Core :: Feed Reader, defect)
MailNews Core
Feed Reader
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 31.0
People
(Reporter: aryx, Assigned: alta88)
References
Details
Attachments
(1 file, 1 obsolete file)
8.06 KB,
patch
|
alta88
:
review+
|
Details | Diff | Splinter Review |
Thank you for adding the favicon feature to the folder tree, alta88.
In Daily 20140408 on Windows 8.1, importing of an OPML file holding a list of ~25 feeds shows only the the favicon of three feeds (and the default one for the other ones). After closing and starting Thunderbird again (online required), it seems to load the remaining ones it can get. A good test case for this is likely the feed list from http://planet.mozilla.org/
Also in that version, I subscribed to http://rss.golem.de/rss.php?feed=ATOM1.0 and to see the favicon in the folder tree, a close and relaunch of Thunderbird was required.
yes, adds/changes in both folder pane and subscribe dialog could be improved. the problem is that a folder is added first, and the tree paints before the feed is added to the db. in order to be performant, whether a folder has a feed/the feed url is cached.
the cached favicon value for trees should be nulled on a feed folder subscription change.
Assignee: nobody → alta88
Attachment #8404405 -
Flags: review?(mkmelin+mozilla)
this might need the patch in bug 946279 first.
OS: Windows 8.1 → All
Hardware: x86_64 → All
Comment 4•11 years ago
|
||
Comment on attachment 8404405 [details] [diff] [review]
favicon2.patch
Review of attachment 8404405 [details] [diff] [review]:
-----------------------------------------------------------------
Didn't try it, but it looks reasonable to me.
::: mailnews/extensions/newsblog/content/FeedUtils.jsm
@@ +299,5 @@
> + * @param string aValue - value
> + */
> + setFolderPaneProperty: function(aFolder, aProperty, aValue) {
> + let win = Services.wm.getMostRecentWindow("mail:3pane");
> + if (!aFolder || !win || !("gFolderTreeView" in win))
"gFolderTreeView" in win should always exist I'd think
Attachment #8404405 -
Flags: review?(mkmelin+mozilla) → review+
rebase and tweak for checkin.
Attachment #8404405 -
Attachment is obsolete: true
Attachment #8405760 -
Flags: review+
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 31.0
You need to log in
before you can comment on or make changes to this bug.
Description
•