Bug 19737 - No cursor and paste not enabled right clicking text field/area
Summary: No cursor and paste not enabled right clicking text field/area
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
: 19961 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-23 21:43 PDT by Matt Lilek
Modified: 2009-03-15 02:24 PDT (History)
4 users (show)

See Also:


Attachments
naive fix (55.27 KB, patch)
2009-02-11 03:46 PST, Alexey Proskuryakov
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Lilek 2008-06-23 21:43:52 PDT
1. Select some text on this page and copy it.
2. Right click the comments <textfield> on this page - notice that the Paste menu item is not enabled
3. Left click anywhere on the page (including in the <textfield> if you so desire)
4. Start typing - notice that the text appears in the <textfield> despite it having no cursor (hitting enter for a newline doesn't do anything)

This also applies to <input type="text"> and isn't a regression from Safari 3.1.1, but is almost certainly a regression from Safari 2.
Comment 1 Dimitri Glazkov (Google) 2008-12-31 14:21:30 PST
Looks like it's fixed in WebKit ToT.
Comment 2 Matt Lilek 2008-12-31 16:14:35 PST
(In reply to comment #1)
> Looks like it's fixed in WebKit ToT.
> 

Nope, just reproduced with my original instructions with ToT + Safari 3.2.1 on both Leopard and Vista.
Comment 3 Alexey Proskuryakov 2009-01-02 00:43:38 PST
This only happens when right-clicking, not Ctrl-clicking. Also, (4) appears fixed in ToT - but not the primary issue.
Comment 4 Alexey Proskuryakov 2009-01-02 00:44:45 PST
<rdar://problem/6471070>
Comment 5 Alexey Proskuryakov 2009-02-09 08:38:53 PST
*** Bug 19961 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Proskuryakov 2009-02-11 03:46:03 PST
Created attachment 27557 [details]
naive fix
Comment 7 Darin Adler 2009-02-11 06:17:17 PST
What does this do to the "select the word under the cursor" behavior when you right-click on non-editable text?
Comment 8 Alexey Proskuryakov 2009-02-11 10:41:32 PST
Words in non-editable text still do get selected when right-clicking.
Comment 9 Darin Adler 2009-03-13 12:29:20 PDT
Comment on attachment 27557 [details]
naive fix

r=me
Comment 10 Alexey Proskuryakov 2009-03-15 02:24:44 PDT
Committed <http://trac.webkit.org/changeset/41715>.