Bug 11298 - GMail Editor: Pressing command-V fails to paste text into message body when it has focus
Summary: GMail Editor: Pressing command-V fails to paste text into message body when i...
Status: RESOLVED DUPLICATE of bug 9640
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2006-10-14 20:22 PDT by Chris Petersen
Modified: 2006-10-30 18:04 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-10-14 20:22:32 PDT
* SUMMARY
With r17027, I can't paste into the message body of a rich text message when pressing command -V. The text actually pastes into the TO: field instead.

* STEPS TO REPRODUCE
1. With r17027, copy some text from any page. Now, login to your Gmail account
2. Create a new rich text message
3. Place the caret into the message body and press command-V
4. Instead of the text appearing in the message body it pastes into the TO: field.

* RESULTS
The text should paste into the message body after I press command -V but doesn't. Note: This does work correctly when I select Edit - Paste for this same rich text message.
Comment 1 Chris Petersen 2006-10-14 20:39:28 PDT
Filed as <rdar://problem/4784444> 
Comment 2 Justin Garcia 2006-10-30 18:04:03 PST
Notice that this doesn't happen if you use Paste from the Edit menu.  This is because GMail calls window.focus() on keyDown, which makes the main frame first responder, focusing the first focusable element in the main frame, which is the TO: field.  Marking this a dupe of 9640.

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