RESOLVED DUPLICATE of bug 1303114343
Web site nullifies app's command-key shortcuts
https://bugs.webkit.org/show_bug.cgi?id=14343
Summary Web site nullifies app's command-key shortcuts
Jeff Johnson
Reported 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.
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
Jeff Johnson
Comment 1 2007-06-23 14:25:13 PDT
Alexey Proskuryakov
Comment 2 2007-06-24 01:22:39 PDT
*** This bug has been marked as a duplicate of 13031 ***
Note You need to log in before you can comment on or make changes to this bug.