Closed Bug 390505 Opened 18 years ago Closed 17 years ago

[meta] Livemarks on the bookmarks toolbar fail to refresh

Categories

(Firefox :: Bookmarks & History, defect, P2)

defect

Tracking

()

VERIFIED FIXED
Firefox 3

People

(Reporter: osu9400, Assigned: mak)

References

Details

(Keywords: qawanted, regression)

Attachments

(1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007073105 Minefield/3.0a7pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007073105 Minefield/3.0a7pre The RSS feeds in my Bookmark Toolbar Folder do not refresh. They don't refresh when Mozilla is restarted, nor do they periodically refresh/reload during normal operations. To refresh, I must do it manually by clicking on a menu item and selecting reload. Reproducible: Always Steps to Reproduce: n/a Actual Results: RSS feeds are old. They are as old as last time I manually refreshed. This could be days. Expected Results: RSS feeds should be current.
Please try resetting the pref browser.bookmarks.livemark_refresh_seconds in about:config: http://kb.mozillazine.org/About:config
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007091502 Minefield/3.0a8pre ID:2007091502 I'm seeing the same, for me it happens after hibernation.
Component: Bookmarks → Places
QA Contact: bookmarks → places
OS: Windows XP → All
Hardware: PC → All
Summary: Bookmark Toolbar Folder fails to refresh → Livemarks on the bookmarks toolbar fail to refresh
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox3?
Blocking for investigation ...
Flags: blocking-firefox3? → blocking-firefox3+
Keywords: qawanted, regression
Target Milestone: --- → Firefox 3 M10
Target Milestone: Firefox 3 M10 → Firefox 3 Mx
Target Milestone: Firefox 3 Mx → Firefox 3 M11
Priority: -- → P3
Looks like Fx3b2pre doesn't refresh feeds on startup, but it *seems* to refresh them correctly after an initial manual refresh.
I examined this behaviour for some hours, tried to reproduce and to find out when this regressed, but it was a waste of time :) for the simple conclusion was that since the landing of places Firefox always fails to update the feed and that it only starts to take action in two cases: - after opening the feed - after opening the organizer
And before the landing of Bug 387746 there was a third case: after clicking on Bookmarks menu -> Bookmarks Toolbar Folder.
Priority: P3 → P2
i think that the update starts at the first livemarks service creation, it fires every 60 seconds (if the pref is not set at a time higher) and expire items only if annotation is expired (about 60 minutes later). so when you open the feed / open the organizer for the first time, the livemark service gets initialized and the timer starts. why it does not start when you start the browser, if you have feeds on the bookmarks toolbar? i think that the answer is Bug 398300, that does not initialize the livemark service on startup, so it is initialized on first use (that is when you open a livemark or a dialog that uses the service)... then it should be alive and update feeds regularly every 60 minutes...
we need to add a "verify automatic refresh" test case to litmus
Flags: in-litmus?
Blocks: 398300
My bug was marked as a duplicate, but here's what occurred: I launched Firefox 3 Beta 2, and went to the bookmarks menu to view my live bookmarks, which still contained the old headlines. After 21 seconds (I had a stopwatch) the feeds reloaded. This is unlike Firefox 2 behavior where the feeds reload immediately when the browser starts.
This bug is still happening; two minutes after starting the browser the Latest Headlines livemark folder still contains the same set.
Assignee: nobody → sayrer
Keywords: qawanted
Version: unspecified → Trunk
Probably a separate bug, but when Firefox finally decides to refresh the feeds, it freezes for ~10 seconds till all feeds are updated. I currently have 13 feeds, among which one from distrowatch.com and half of them are buglists on b.m.o. Am I the only one to see this issue (the same patch may eventually fix this issue as well, which is why I comment here)?
Target Milestone: Firefox 3 beta3 → Firefox 3 beta4
[10:23am] sayrer: problem is that livemark code throwing an exception was moved into RunInBatchMode [10:23am] sayrer: exception breaks the batch [10:23am] sayrer: iirc
Assignee: sayrer → mak77
Can someone put valid STR or feed links to reproduce this with current nightly? i'm trying to reproduce a situation in which a valid livemark is not still updated after 2 minutes from the browser startup.
(In reply to comment #14) > Probably a separate bug, but when Firefox finally decides to refresh the feeds, > it freezes for ~10 seconds till all feeds are updated. I currently have 13 this is most probably Bug 329534
(In reply to comment #12) > After 21 seconds (I had a stopwatch) the feeds reloaded. this should be the actual expected behaviour, feed refresh set a timer of 15s after an initial delete if 5s, so it should start updating after about 20 s.
for reference about comment #18: Bug 382711 added a timer in delayed startup on 17/01/2008, that changed the behaviour of the refresh: - 5s delay to wait for the UI to be setup - set a repeat timer - first update after 15s, and so on (every 15s)
i'm trying to fix bugs that could pollute testing of this problem (because they are somehow related to feed reload), to help finding the actual problem: Bug 341035 & Bug 388716. notice however that, as by now, i've not been able to reproduce the problem with a build after the check-in of Bug 382711, nor i have valid STR for this. But keep trying.
Keywords: qawanted
(In reply to comment #19) > for reference about comment #18: Bug 382711 added a timer in delayed startup on > 17/01/2008, that changed the behaviour of the refresh: > - 5s delay to wait for the UI to be setup > - set a repeat timer > - first update after 15s, and so on (every 15s) Is there any way to change this behavior so that the livemarks load immediately upon startup?
(In reply to comment #21) > Is there any way to change this behavior so that the livemarks load immediately > upon startup? > imho we should force a first refresh 5s/10s after the browser startup and then set the refresh time at an higher value (i don't get why we should check for update every 15s, it sounds a too short time). Will talk with dietrich about this.
Status: NEW → ASSIGNED
filled Bug 419832 on livemark update timings
Depends on: 341035, 382711, 388716, 419832
Attached patch patch (obsolete) — Splinter Review
apart the followup bugs i've filled, that should still be fixed, in _fireTimer (the actual function that we fire every 15s to update) we have for (var i=0; i < this._livemarks.length; ++i) { this._updateLivemarkChildren(i, false); } _updateLivemarkChildren, if the livemark fails to load or the listener throws, do catch (ex) { [omissis...] LOG("exception: " + ex); throw ex; } the exception go out and break the for cycle so subsequent feeds are not updated, this is particularly bad if the failing livemark is the first in the array. Probably we don't need to pass out that exception, should be useful more for debug purposes, so i'd simply change the return value to a bool, in case some other code nees to see if the livemark has been updated.
Attachment #306010 - Flags: review?(dietrich)
Comment on attachment 306010 [details] [diff] [review] patch sounds good, r=me
Attachment #306010 - Flags: review?(dietrich) → review+
please don't close this report after the check-in since it could still be valid until we fix all dependancies (or someone finds an actual STR to reproduce after this fix)
Keywords: checkin-needed
I'm first among sinners, so don't take offense: bugs should be wholly meta-, or not. So if this bug is patched, file a new bug blocked by this and any followups to be the meta-bug. /be
brendan, you're right, i'm moving out the patch to a new bug and use this as meta.
Attachment #306010 - Attachment is obsolete: true
Keywords: checkin-needed
Depends on: 419885
filled Bug 419885
Target Milestone: Firefox 3 beta4 → Firefox 3
Summary: Livemarks on the bookmarks toolbar fail to refresh → [meta] Livemarks on the bookmarks toolbar fail to refresh
Whiteboard: [waiting for dependant bugs][needs QA testing]
Whiteboard: [waiting for dependant bugs][needs QA testing] → [all known issues fixed][waiting for QA testing]
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [all known issues fixed][waiting for QA testing]
Verified with: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9pre) Gecko/2008050704 Minefield/3.0pre and the windows equivalent nightly build.
Status: RESOLVED → VERIFIED
at 60 minutes this is a good test cases for litmus. And we're not liking test cases that require Litmus users to change about:config settings.
Flags: in-litmus? → in-litmus-
s/is/isn't/
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: