Bug 17293 - Hitting command jumps you back to the top of the page
Summary: Hitting command jumps you back to the top of the page
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://finance.yahoo.com/q?s=aapl
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-10 13:20 PST by Michael
Modified: 2008-12-28 11:52 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2008-02-10 13:20:25 PST
On certain webpages, if you scroll down and click the mouse button, then the next time you hit the command (apple) button, the page jumps back to the top.  This would typically happen if you use command-click to open new tabs: try to do that twice, and you find yourself back at the top of the webpage.

Example page:  Yahoo Finance! pages, such as: http://finance.yahoo.com/q?s=aapl
Comment 1 Chasen Le Hara 2008-02-11 00:24:50 PST
I'm guessing that this is a "feature" since it brings focus to the search box consistently and it works in Firefox as well.
Comment 2 Robert Blaut 2008-02-11 00:40:57 PST
As Chasen said above the behavior is caused by "autocomplete" script: http://us.js2.yimg.com/us.js.yimg.com/i/us/fi/yfss/js/autocomplete_container_ylc_yfi_20070924.js so the bug in my opinion is INVALID.
Comment 3 Michael 2008-02-11 05:08:30 PST
I agree that it returns focus to the search box at the top of the page, but for the Mac platform, I would still classify this as a bug.  

First, Safari 3.04 does not replicate this behavior.  

Second, and more importantly, if you scroll to the bottom of the page in order to  command-click on several links, with the intent to open them in new tabs, you will be quite frustrated.  Since command is shifting focus back to the search box (but only on certain webpages), the second time you command-click a link, you will lose your place in the webpage.  Tab is the button assigned to shift focus to search boxes; command should not duplicate this behavior.
Comment 4 Robert Blaut 2008-12-28 11:52:33 PST
I tested the reported issue in WebKit r39474 and I cannot replicable the problem any more. So I assume the bug is fixed. 

Any confirmations?