Status: Available
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium Jank

New issue 21588 by [email protected]: Timeout browser-level keyboard  
commands if page isn't responding
http://code.google.com/p/chromium/issues/detail?id=21588

What steps will reproduce the problem?
1. Load a very slow page
2. Attempt to switch tabs with ctl-pgup

What is the expected output? What do you see instead?
Because we're waiting for the page to respond to the keystroke, the browser
never gets to process the keystroke.  The tab doesn't switch.

I propose for important "get me out of here" keys we don't wait for the
page when it's slow.  These keys are:
- Tab switching: ctl/alt + number keys, ctl + pgup/pgdn
- Tab closing: ctl + w
- New tab/window: ctl + n, ctl + t

This jank occurs in two situations, which maybe we want to handle
differently:
1) When the page is still loading, and it doesn't yet have enough of webkit
/ the DOM going to actually process keys?  => should just time out
immediately
2) When the page is slow to respond?  => should time out in a very short
period


Negatives: note that if the page *does* eventually handle this key, you'll
have a "phantom edit" problem.  For example, webkit.org navigates on
alt+number key, so if we ever time out that key stroke on webkit.org (in
case #2), we'll switch tabs away, and when you return to the tab you were
previously on it will have mysteriously navigated.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to