Open Bug 248376 Opened 20 years ago Updated 2 years ago

Click two links in a row on the same page makes them one after the other in history.

Categories

(Core :: Layout, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: doom_duke, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616

This might be similar to Bug 55784 in nature, but appears differently.

On any webpage, find two links that do not open in new windows. Click the first
one, then click the second link. The first link opens, then the second opens too
which will be the final page.
Now, click the back button, you go back to the first link rather than the
original page. This appears like the second link comes from the first link,
which is not. Similar when Forward button is clicked.

The timing is important. The 1st link should not open immediately, which allows
you some time to click the second link. It seems like this happens at a point
where the browser just received content from the 1st link, but has not started
rendering the page, then the second link is clicked. This case is reproducible.

Occasinally similar thing happens even when only one link is single-clicked.
The page is opened twice in a row. But this case is not as often as above, and
happens randomly. Do not know how to reproduce this case consistently.

I'm not sure if this is what's supposed to be. It's not critical, but I'm 
wondering could this behavior interfere with online shopping, or any page that
tracks user status?

Reproducible: Always
Steps to Reproduce:
1. Open a web page with multiple links that do not open in new windows.
2. Click one link, then click another link. Practice to find correct time interval
between the two clicks.
3.

Actual Results:  
It appears like: original page -> 1st link -> 2nd link, where 1st and 2nd links
are both from the original page.

Expected Results:  
Browser should open either the 1st, or the 2nd link, but not both in a row.
*** Bug 248381 has been marked as a duplicate of this bug. ***
May have something to do with paint suppression.  Moving to Layout:Misc Code,
although History:Session might also be appropriate.
Assignee: events → nobody
Component: Event Handling → Layout: Misc Code
QA Contact: ian → core.layout.misc-code
This also happens to single link. Click a link twice, it is opened twice in a
row.
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Do you see this with Firefox 2?

Hong wrote on 9/14/2006 - Yes, it still exists. I'm using a later version of Mozilla now: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.13) Gecko/2006041
I can reproduce this in Firefox 2 and current trunk.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b5pre) Gecko/2008032304 Minefield/3.0b5pre ID:2008032304

This often happens to me because I often click the wrong link. I can react quikly and click the right link, but the wrong links target has already been loaded into the History then.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.