Closed Bug 308240 Opened 19 years ago Closed 18 years ago

Changing Live Bookmark URL doesn't remove current items before loading new URL

Categories

(Firefox :: Bookmarks & History, defect)

2.0 Branch
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: philor, Assigned: philor)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

Hitting this real-world requires a nice slow connection, so that you can change
the URL and open the livemark folder before it updates to the new items from the
new URL, but you can get the same effect, with bonus breakage, by changing to an
unresponsive URL.

STR:
1. Start with a Live Bookmark on the bookmarks toolbar: the default "Latest
Headlines" is fine, but be sure you've scrolled down to the bottom of the items.
2. Right-click, Properties, change the Feed Location to
http://example.com:440/rss.xml
3. Click OK, then open the livemark folder, and you'll have a "Live Bookmark
loading" item at the bottom of the previous items.
4. Since it doesn't change, decide to right-click, Reload Live Bookmark - now
you have a completely broken empty livemark, without even a "Live Bookmark
failed to load" item.

With a non-broken URL, it just looks like it didn't work if you open the
livemark before it finishes loading, because you still see the same items (and
probably don't notice the "Live Bookmark loading..." at the bottom, especially
if there are enough items to have it scrolled off the bottom).
I use a valid RSS field as the new URL value, and even after repeated refreshes
I don't see new entries in the live bookmark.
Screenshot: http://img369.imageshack.us/img369/2234/livemark9wm.png
Attached patch patchSplinter Review
D'oh, I should have looked at whether it was a one-liner suitable for my limited skillz.
Assignee: nobody → philringnalda
Status: NEW → ASSIGNED
Attachment #223746 - Flags: review?(vladimir)
Attachment #223746 - Flags: approval-branch-1.8.1?(vladimir)
Target Milestone: --- → Firefox 2 beta1
Version: Trunk → 2.0 Branch
Comment on attachment 223746 [details] [diff] [review]
patch

r+a=me
Attachment #223746 - Flags: review?(vladimir)
Attachment #223746 - Flags: review+
Attachment #223746 - Flags: approval-branch-1.8.1?(vladimir)
Attachment #223746 - Flags: approval-branch-1.8.1+
Whiteboard: [checkin needed]
Checked in on the branch. This isn't relevant to the trunk, right?
mozilla/browser/components/bookmarks/src/nsBookmarksService.cpp 	1.67.2.10
Keywords: fixed1.8.1
Whiteboard: [checkin needed]
Only relevant to the trunk for -disable-places (which at least one person we know is using) - the Places version would be bug 331236 to have it even notice that the URL has been changed, and then we'll see if whoever does that remembers to remove old items.
However, I can't close it as fixed until it's fixed on the trunk, where the file exists even if it isn't build by default. So, please?
Whiteboard: [checkin needed]
mozilla/browser/components/bookmarks/src/nsBookmarksService.cpp 	1.85
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: