Closed
Bug 301691
Opened 19 years ago
Closed 19 years ago
Drag and drop text from a textarea to another (or from a input) copies the text, even without holding down the ctrl key.
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 101542
People
(Reporter: NocturnDragon, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 Drag and drop text from a textarea to another (or from a input), and see that it copies the text, even without holding down the ctrl key. The correct behavior should be to move the text normally and copy it only if the ctrl key is being pressed. Keywords: form, input, text field, drag and drop, copy, move Reproducible: Always Steps to Reproduce: 1. Copy the Test.html file (listed below) to your local system. 2. Load the Test.html file in Firefox. 3. Now Drag the text from a textarea (or input text) to another textarea (or input text) holding down the ctrl key, and see the pointer change from a move icon to a copy icon and see the text copied in the field where you dragged it. (which is correct) 4. Now Drag the text but this time without holding the ctrl key. 5. See how the text is copied to that textarea even if the browser should actually move it. File: Test.html <html> <head> <title>Textarea and input drag and drop bug</title> </head> <body> <p>Drag and drop text from a textarea to another (or from a input), and see that it <strong>copies</strong> the text, even without holding down the <em>ctrl</em> key. The correct behavior should be to move the text normally and copy it only if the ctrl key is being pressed. </p> <form action="#"> <h3>Test Drag and Drop</h3> <textarea cols="20" rows="8">Some dummy text!</textarea> <textarea cols="20" rows="8"></textarea> <input type="text" value="Some dummy text!" /> <input type="text" /> </form> </body> </html> Actual Results: The text dragged and dropped (without holding the ctrl key) is copied from a field to another. Expected Results: The text dragged and dropped (without holding the ctrl key) should actually being moved.
Comment 1•19 years ago
|
||
I see this also. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050721 Firefox/1.0+ ID:2005072122
Comment 3•19 years ago
|
||
*** This bug has been marked as a duplicate of 101542 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•