Closed
Bug 304434
Opened 19 years ago
Closed 19 years ago
Left-clicked downloadable files do not have their links marked as visited until a page reload
Categories
(Core Graveyard :: History: Global, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: kakadu+bugzilla, Assigned: roc)
References
()
Details
(Keywords: fixed1.8, regression)
Attachments
(1 file)
5.96 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050811 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050811 Firefox/1.0+ Bug 78510's fix does not take into account any left-clicked links which cause the browser to begin a file download. Left-clicking these links does not mark them as visited until after the page is reloaded. Reproducible: Always Steps to Reproduce: 1. Go to the Web site in the URL field. 2. Left-click a file that will cause a download to start. 3. Start the download. 4. Return to the Web site and find the link that was clicked. Actual Results: The link is still unvisited (a:link) instead of visited (a:visited). Expected Results: The link should have changed to a:visited after the download dialog had appeared and/or the download had been started in the DM.
Reporter | ||
Comment 1•19 years ago
|
||
CCing roc, as he wrote the original fix for this. Adding dependency on 78510 (if unneeded, please remove).
Depends on: 78510
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•19 years ago
|
||
not only a linux problem can confirm here with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050812 Firefox/1.0+ ID:2005081201 same behaviour, not marked visited until reload
Comment 3•19 years ago
|
||
downloads call the add-to-history code themselves, in nsExternalHelperAppService.cpp, so they don't reach the notifyObservers code in docshell
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Comment 4•19 years ago
|
||
Simple fix
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #192898 -
Flags: superreview?(dbaron)
Attachment #192898 -
Flags: review?(dbaron)
Assignee | ||
Comment 5•19 years ago
|
||
This is a regression since I took out the Firefox hack that used to make this "kinda" work.
Keywords: regression
Actually, wouldn't it be better if the AddURI / AddPage implementation did this? After all, the current way leaves inconsistencies on reload, since AddURI refuses to add certain schemes to history.
Attachment #192898 -
Flags: superreview?(dbaron)
Attachment #192898 -
Flags: superreview-
Attachment #192898 -
Flags: review?(dbaron)
Attachment #192898 -
Flags: review-
Assignee | ||
Comment 7•19 years ago
|
||
Then we'd have to add it to all history implementations (including those outside our tree).
Assignee | ||
Comment 8•19 years ago
|
||
I don't think this will cause inconsistencies because style reresolution will just find that the link is still not visited and do the right thing.
Assignee | ||
Comment 9•19 years ago
|
||
Comment on attachment 192898 [details] [diff] [review] fix resubmitting patch
Attachment #192898 -
Flags: superreview?(dbaron)
Attachment #192898 -
Flags: superreview-
Attachment #192898 -
Flags: review?(dbaron)
Attachment #192898 -
Flags: review-
Attachment #192898 -
Flags: superreview?(dbaron)
Attachment #192898 -
Flags: superreview+
Attachment #192898 -
Flags: review?(dbaron)
Attachment #192898 -
Flags: review+
Assignee | ||
Comment 10•19 years ago
|
||
checked in.
Assignee | ||
Comment 11•19 years ago
|
||
Comment on attachment 192898 [details] [diff] [review] fix fixes a regression from bug 78510
Attachment #192898 -
Flags: approval1.8b4?
Updated•19 years ago
|
Flags: blocking1.8b4+
Updated•19 years ago
|
Attachment #192898 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 12•19 years ago
|
||
checked in on branch.
Reporter | ||
Comment 13•19 years ago
|
||
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050827 Firefox/1.0+ ID:2005082705 Verified - but not totally fixed. Right-clicking a link and selecting Save Link As does not trigger the fix in this bug, and additionally does not allow such a link to be marked visited at all, even after a page reload. Should a new bug be filed on this issue?
Status: RESOLVED → VERIFIED
Comment 14•19 years ago
|
||
(In reply to comment #13) > Should a new bug be filed on this issue? That never marked the link as visited. There already is a bug on that.
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•