Bug 14343 - Web site nullifies app's command-key shortcuts
Summary: Web site nullifies app's command-key shortcuts
Status: RESOLVED DUPLICATE of bug 13031
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www22.verizon.com/content/Cons...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-23 13:57 PDT by Jeff Johnson
Modified: 2007-06-24 01:22 PDT (History)
0 users

See Also:


Attachments
HTML source of http://www22.verizon.com/content/ConsumerFios (84.21 KB, text/html)
2007-06-23 14:25 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnson 2007-06-23 13:57:20 PDT
Overview Description:
After loading the URL http://www22.verizon.com/content/ConsumerFios in a WebKit app (e.g., Safari or Vienna) and making the webview the first responder (e.g., by mouse-clicking in the view), the app's command-key menu keyboard shortcuts (e.g., command-q to quit, command-w to close window) no longer do anything.

Steps to Reproduce:
(1) Open Safari.
(2) Load http://www22.verizon.com/content/ConsumerFios
(3) After loading is finished, mouse-click in webview.
(4) Type command-q to quit Safari.

Expected Results:
Safari quits.

Actual Results:
Nothing happens. Safari doesn't quit.

Versions & Platforms:
Mac OS X 10.4.9 (whichever version of WebKit came with 10.4.9), Mac OS X 10.4.10 (WebKit 419.3), WebKit revision 23748 on Mac OS X 10.4.10 (checked out and built by me)

Additional Information:
The command-key shortcuts work as expected if I comment out WebViewHTMLView.mm:3901-3903 from revision 23748 (as well as WebViewHTMLView.mm:3889 to avoid build failure). To fix the problem, perhaps you could call [super performKeyEquivalent:event] before rather after giving the web site a crack at the command-key combo.
Comment 1 Jeff Johnson 2007-06-23 14:25:13 PDT
Created attachment 15201 [details]
HTML source of http://www22.verizon.com/content/ConsumerFios
Comment 2 Alexey Proskuryakov 2007-06-24 01:22:39 PDT

*** This bug has been marked as a duplicate of 13031 ***