Closed
Bug 194802
Opened 22 years ago
Closed 21 years ago
Cannot drag and drop text from or to textarea or input
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: john, Assigned: john)
References
Details
(Whiteboard: fixed1.3 fixed1.4)
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
bryner
:
review+
kinmoz
:
superreview+
asa
:
approval1.3+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bryner
:
review+
jst
:
superreview+
sspitzer
:
approval1.4+
|
Details | Diff | Splinter Review |
You cannot drag text from a textarea. This is a regression of bug 185889. bug
193568 comment 29 has info on this.
Assignee | ||
Comment 1•22 years ago
|
||
This probably should be a blocker; leaving it up to drivers to decide. Note
that bug 193568 was a very similar blocker.
Status: NEW → ASSIGNED
Flags: blocking1.3?
Comment 3•22 years ago
|
||
gnbfghf dfgd fgdf
Comment 4•22 years ago
|
||
dfafasfasf
Comment 5•22 years ago
|
||
If you're going to CC yourself into this bug report. Just enter your email
address into the CC textbox only.
There is no need to use the 'Additional Comment'. Just leave the 'Additional
Comments' blank and there's no need to type in the 'gnbfghf dfgd fgdf' or
'dfafasfasf' because Bugzilla will automatically CC you to the bug report
without the 'Additional Comments'. This will prevent Bugzilla from spamming
everyone's email and from overloading the email server with un-necessnary
emails.... Thank you!!
Assignee | ||
Comment 6•22 years ago
|
||
This fixes the problem for 1.3. I don't think we want the full fix for 1.3
given the near deadline. The full fix is to set originalTarget itself, but
that breaks ctrl+v paste for some reason; that indicates to . This fix targets
drag and drop only. Some other things may be broken still, but at least now we
have a better idea what the set of broken stuff is--setting originalTarget
could create an unknown set of problems.
Comment 7•22 years ago
|
||
Comment on attachment 115687 [details] [diff] [review]
Branch Patch
is this missing a file in dom/public/idl ?
Assignee | ||
Comment 8•22 years ago
|
||
Attachment #115687 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #115694 -
Flags: review?(bryner)
Updated•22 years ago
|
Attachment #115694 -
Flags: review?(bryner) → review+
Assignee | ||
Updated•22 years ago
|
Attachment #115694 -
Flags: superreview?(kin)
Attachment #115694 -
Flags: superreview?(kin) → superreview+
Assignee | ||
Updated•22 years ago
|
Attachment #115694 -
Flags: approval1.3?
Comment 10•22 years ago
|
||
Comment on attachment 115694 [details] [diff] [review]
Branch Patch
a=asa (on behalf of drivers) for checkin to 1.3.
Attachment #115694 -
Flags: approval1.3? → approval1.3+
Assignee | ||
Comment 11•22 years ago
|
||
Fixed on 1.3. Not fixed on trunk yet, still trying to resolve the ctrl+v
problem with the .originalTarget patch. Removing blocking1.3 so that it goes
off of the blockers list.
Flags: blocking1.3+
Whiteboard: fixed1.3
Assignee | ||
Comment 12•22 years ago
|
||
Putting blocking1.3+ back up at Asa's request.
Flags: blocking1.3+
Comment 13•22 years ago
|
||
Modifying summary for better Bugzilla queries.
Summary: Cannot drag text from textarea → Cannot drag and drop text from textarea
Comment 14•22 years ago
|
||
*** Bug 197187 has been marked as a duplicate of this bug. ***
Comment 15•22 years ago
|
||
so, my bug #197187 has ben marked a duplicate of this one. Sure it is the same
issue?
This here goes about textarea and just one direction: "from". But I reportet
errors with all text edit form elements.
If it's the same then you should remove the "from" from the subject and mention
INPUT elements too. No wonder I could not find this one when searching for
duplicates ...
Updated•22 years ago
|
Summary: Cannot drag and drop text from textarea → Cannot drag and drop text from or to textarea
Assignee | ||
Comment 16•22 years ago
|
||
to works fine. from is what is broken. Don't feel bad about filing a
duplicate; we appreciate that people file at all.
Summary: Cannot drag and drop text from or to textarea → Cannot drag and drop text from textarea or input
Assignee | ||
Comment 17•22 years ago
|
||
hmm, funny, some "to" works and some doesn't. Dragging the URL by clicking the
little Mozilla next to the URL bar works ... dragging HTML from the page into
the textarea does not.
Assignee | ||
Comment 18•22 years ago
|
||
Dragging text works (try dragging from a text mail message) and HTML does not.
I am not clear if that is intentional or not.
Comment 19•22 years ago
|
||
Holy Mid-air collisions. I've been trying to clarify this for a while now. <grin>
It doesn't simply do "nothing", the UI actually draws the circle with the line
through it symbol.
Summary: Cannot drag and drop text from textarea or input → Cannot drag and drop text from or to textarea or input
Assignee | ||
Comment 20•22 years ago
|
||
Which indicates that the thing being dragged cannot be dropped onto the
textarea. It would be best to test that against an older version (1.2) and see
if the same behavior occurs. I have a sneaking suspicion it does.
Comment 21•22 years ago
|
||
I even cannot drag text around within a text area like this one here where I'm
typing the comment. And I did this all the time with builds before 1.4x
Also I know I could select text anywhere on a page and in form fields and drag
it into other form fields. this would copy the text into the second field -
input or textarea
Updated•22 years ago
|
Flags: blocking1.4a?
Updated•22 years ago
|
Flags: blocking1.4a? → blocking1.4a-
Assignee | ||
Comment 22•22 years ago
|
||
All right, this ports the 1.3 patch to trunk. I really don't have time to set
originalTarget to this and catch the inevitable regressions until at least 1.5.
Let's get this working again.
Assignee | ||
Comment 23•22 years ago
|
||
Comment on attachment 119117 [details] [diff] [review]
Patch
Asking for reviews from the people who reviewed the previous patch.
Attachment #119117 -
Flags: superreview?(jst)
Attachment #119117 -
Flags: review?(bryner)
Comment 24•22 years ago
|
||
Ouch! This is pretty nasty, do we really want this on the trunk? How about
waiting for a 1.4 (and 1.4b) branch and landing this there only, and leaving
this bug open while waiting for the real fix?
Assignee | ||
Comment 25•22 years ago
|
||
I'd be fine with that, but I'm not clear that I'll even have time to get this
into 1.5. There is a good deal of debugging to do (fixing .originalTarget seems
to break control+character keypresses in the url bar, for example) and a good
deal of regressions that will occur. I have a *lot* of printing work to do
between now and then.
If you like I can remove the word "tmp" from it and land that.
realOriginalTarget is not a bad solution per se, but I'd prefer to try and fix
it by setting .originalTarget correctly.
Assignee | ||
Comment 26•22 years ago
|
||
This version adds some comments and a [noscript] suggested by jst.
Attachment #119117 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #119140 -
Flags: superreview?(jst)
Attachment #119140 -
Flags: review?(bryner)
Assignee | ||
Updated•22 years ago
|
Attachment #119117 -
Flags: superreview?(jst)
Attachment #119117 -
Flags: review?(bryner)
Comment 27•22 years ago
|
||
Comment on attachment 119140 [details] [diff] [review]
Patch v1.1
sr=jst
Attachment #119140 -
Flags: superreview?(jst) → superreview+
Updated•22 years ago
|
Attachment #119140 -
Flags: review?(bryner) → review+
Comment 28•22 years ago
|
||
It is late for asking, I know.
This has been patched in 1.3 branch only, so wouldn´t we get a regression if
this is not patched in Trunk or 1.4b?
Patch with r/sr is available from start of April.
Flags: blocking1.4b?
Updated•22 years ago
|
Flags: blocking1.4b?
Flags: blocking1.4b-
Flags: blocking1.4+
Assignee | ||
Comment 29•22 years ago
|
||
Comment on attachment 119140 [details] [diff] [review]
Patch v1.1
Let's try and check this in before 1.4 branches.
Attachment #119140 -
Flags: approval1.4?
Comment 30•22 years ago
|
||
Comment on attachment 119140 [details] [diff] [review]
Patch v1.1
a=sspitzer,
fyi, here's something you might want to do, per dmose:
instead of:
+ *aRealEventTarget = mTmpRealOriginalTarget;
+ NS_ADDREF(*aRealEventTarget);
do:
+ NS_ADDREF(*aRealEventTarget = mTmpRealOriginalTarget);
Attachment #119140 -
Flags: approval1.4? → approval1.4+
Assignee | ||
Comment 31•22 years ago
|
||
"eww". I hate when people put assignments inside an expression.
Comment 32•22 years ago
|
||
Did this land?
Updated•21 years ago
|
QA Contact: sujay → sairuh
Assignee | ||
Comment 33•21 years ago
|
||
Fix checked in. How should we handle resolution? RESOLVED / FIXED and open a
new bug? Remove blocking1.4+?
Comment 34•21 years ago
|
||
Opening a new bug for remaining issues would be ideal. If that's a pain then
don't bother, I'll just flag this one with a status whiteboard marker to pull it
off my radar.
Whiteboard: fixed1.3 → fixed1.3 fixed1.4
Updated•21 years ago
|
Flags: blocking1.4+
Assignee | ||
Comment 35•21 years ago
|
||
This bug is indeed fixed. bug 206904 filed on the other issue. re-setting
blocking1.4+ for future reporting.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Flags: blocking1.4+
Resolution: --- → FIXED
Comment 36•21 years ago
|
||
*** Bug 207129 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•