Closed
Bug 434210
Opened 17 years ago
Closed 15 years ago
Option (alt) dragging text within text fields doesn't copy the selection
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a3
People
(Reporter: poweruser.ml, Assigned: mstange)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.29 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; it-it) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; it; rv:1.9) Gecko/2008051202 Firefox/3.0 On Mac OS X dragging and dropping the selected text in a textarea holding the option (alt) key inserts a copy of the selection in the drop point. In Firefox 3 it doesn't appen. The text is moved not copied. Reproducible: Always Steps to Reproduce: 1. Get a page with a textarea 2. Fill it with some text 3. Select some words 4. Start dragging the selection 5. Hold Option key 6. Drop the selection in another point of the same textarea (keep holdin Option) Actual Results: The selected text is moved Expected Results: The selected text should be copied to the drop point Using default theme. In Firefox 2 it worked.
Comment 1•17 years ago
|
||
> 1. Get a page with a textarea
Please give a publicly accessible example.
Reporter | ||
Comment 2•17 years ago
|
||
The page is not important. The problem happens with every textarea. However here's a page: http://www.htmlref.com/examples/chapter12/textarea.html
This doesn't work in Camino 1.6 either, so it seems like a long-standing Cocoa widgets bug (but a regression in Firefox from fx2, where it did work). It's not just <textarea>s; <input type="text"> is also affected.
Assignee: nobody → joshmoz
Status: UNCONFIRMED → NEW
Component: OS Integration → Widget: Cocoa
Ever confirmed: true
Flags: wanted1.9.0.x?
Keywords: regression
Product: Firefox → Core
QA Contact: os.integration → cocoa
Summary: Option (alt) dragging text within a textarea doesn't copy the selection → Option (alt) dragging text within text fields doesn't copy the selection
Comment 4•17 years ago
|
||
Yes, Smokey, it looks like you're right. And by the way, control-drag works properly (copies text instead of moving it) on both Windows and Linux, in both Firefox 3 RC 1 and Firefox 2.0.0.14.
Assignee: joshmoz → smichaud
Updated•17 years ago
|
Priority: -- → P2
Reporter | ||
Comment 6•17 years ago
|
||
No changes in RC2 :(
Comment 7•16 years ago
|
||
Confirming this bug in the Version 3 public release, and confirming how very, very annoying it is. The workaround of course is copy and pasting, but dragging and dropping with the option key down to copy is far more natural and I need it all the time. Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0 (A different but possibly related feature request: It would be great to be able to hold down a button to drag a tab's URL into a textarea rather than immediately switch to that tab. I would use this all the time to get the URL of a site I was visiting in one tab into a post I'm writing in another tab.)
Comment 8•16 years ago
|
||
Only wanted1.9.0.x+ pending the size and risk of the fix. This should be wanted1.9.1 though.
Flags: wanted1.9.1?
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x+
Reporter | ||
Comment 9•16 years ago
|
||
Nothing changed in Firefox 3.0.4 :(
Comment 10•15 years ago
|
||
Still seems broken in 3.5.7; I’ve reverted to 2.0.0.20.
Comment 11•15 years ago
|
||
I'm afraid I'm not going to be able to get to this anytime soon.
Assignee: smichaud → nobody
Assignee | ||
Comment 12•15 years ago
|
||
Updated•15 years ago
|
Attachment #430003 -
Flags: review?(Olli.Pettay) → review+
Comment 13•15 years ago
|
||
Comment on attachment 430003 [details] [diff] [review] v1 This looks ok to me, but please file followup bugs to fix OSX and Linux drag events to set modifiers.
Assignee | ||
Comment 14•15 years ago
|
||
OS X drag modifiers were fixed in bug 549891. http://hg.mozilla.org/mozilla-central/rev/d2e4bfe434c5
Assignee | ||
Updated•15 years ago
|
Hardware: PowerPC → All
Target Milestone: --- → mozilla1.9.3a3
Version: unspecified → Trunk
Assignee | ||
Updated•15 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 15•14 years ago
|
||
Not fixed in 3.6.4, but it is fixed in Developer Preview 3.7a5/1.9.3.
So, this was wanted for 1.9.0 and 1.9.1, and its followup bug, bug 549891, already had its patch nominated for 1.9.2 (needs a rollup patch); any chance we can get this on 1.9.2, too?
You need to log in
before you can comment on or make changes to this bug.
Description
•