Closed Bug 257438 Opened 22 years ago Closed 20 years ago

Live Bookmark button stops working if link is clicked on page, then cancelled

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ross, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040825 Firefox/0.9.1+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040825 Firefox/0.9.1+ If you start to move off a page that has a linked RSS/Live Bookmarkable feed, but then stop the operation and remain on that page, the RSS icon on the right side of the status bar remains visible, but will not do anything. The tooltip "Add Live Bookmark for this page's feed" remains if you hover over the button. Switching tabs (not windows) and then going back makes the RSS button disappear, and the tooltip will no longer show up. Obviously what's happenig is that the new page is beginning to load, and so the feeds that were available through the RSS button are no longer valid. There needs to be some sort of cutoff point, like when the next page starts to paint. At the moment the feeds are disabled too early, but the RSS button itself is not. Reproducible: Always Steps to Reproduce: 1. Go to a page with an available feed (e.g. http://www.alistapart.com/xmlfeed/ ) 2. Click a link but imediately press Esc or Stop. 3. Hover over and click the RSS button Actual Results: Nothing. The RSS button looks like it's still available, but does not popup a menu when clicked. Expected Results: Either rolled back to the visible page's feeds, or removed the RSS icon as soon as the user begins to move away from it (by clicking a link, selecting a bookmark etc.)
Confirming in Gecko/20040923 Firefox/0.10.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: "RSS" button stops working if link is clicked on page → Live Bookmark button stops working if link is clicked on page, then cancelled
Attached file testcase —
You don't even have to quickly hit Stop, if the link you clicked is to something that doesn't actually load in _content, like a .zip or an .xpi (which makes it a bit more serious: download a program or install an extension, then try to subscribe to the feed for updates to it, and you'll have to figure out that you need to refresh the page to reload the <link>s). We nuke the livemark links in startDocumentLoad(), at http://lxr.mozilla.org/seamonkey/source/browser/base/content/browser.js#3211 where we don't yet know what it is or where it will load; couldn't we instead do it in onLocationChange(), by asking aWebProgress where it's loading? (I was going to say just in the existing |if (aWebProgress.DOMWindow == content)|, but that's avoiding noticing subframe navigation, which we probably don't want to do once we fix bug 274915). Or is there no guarantee that onLocationChange will fire before the first DOMLinkAdded fires?
*** Bug 258507 has been marked as a duplicate of this bug. ***
Blocks: 266989
*** Bug 299725 has been marked as a duplicate of this bug. ***
Assignee: bugs → nobody
QA Contact: bugzilla → toolbars
Component: Toolbars → RSS Discovery and Preview
QA Contact: toolbars → rss.preview
It's sort of sad that I bitrotted my own testcase, about a year ago, but the up side is that once I unrotted it, we seem to have fixed this somewhere along the line: in trunk and 2.0, canceling a link click or clicking on a link to a download doesn't break the discovered feeds.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: