Closed Bug 67109 Opened 24 years ago Closed 24 years ago

Drag and drop to and from textfields is broken

Categories

(Core :: DOM: Editor, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla0.8

People

(Reporter: bugzilla, Assigned: mozeditor)

Details

(Keywords: regression, Whiteboard: fix in hand, critical for 0.8)

Attachments

(1 file)

Dragging from and dropping into all textfields (gfx and html) is broken for me 
in my latest build.  (It still works in <editor/>s like Composer itself, and 
mail compose).  Assigning this to Joe initially because of his recent editor 
embedding work.
It would be a shame if .8 went out with this...
Severity: normal → major
Summary: Drag and drop to and from editors is broken → Drag and drop to and from textfields is broken
this is indeed fallout from the embedding work.  i missed the drag stuff when 
shuffling the interfaces.  fix coming soon...
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.8
Attached patch bug fix patchSplinter Review
i failed to move the nsIHTMLEditor drag/drop api down into nsIEditor during my 
refactoring.  Patches do that.  kin, smurfer, can you review?
Whiteboard: fix in hand, awaiting review
In 2001013004 for Mac build, drag and drop of html text string ("foo") to any
form texarea within this page starts Mozilla to load http://www.foo.com. The
textareas are being treated as URL box? Weird.
hirata you should file a separate bug on that.
That's the same bug.  Editor isn't catching the drop, so the event bubbles up 
to the page.
ah, of course.  thanks.
this will be a .8 blocker.  kin/smfr, can you r=?
Blake, I already reviewed Joe's code last week, the agreement we have is that 
these functions will be moved to nsIEditor *temporarily* to fix the regression 
for 0.8, and that he will add D&D stub functions to nsEditor so we can 
still instantiate/use it.

FYI, I said *temporarily* because I think that D&D and Paste methods really 
shouldn't be part of the nsIEditor, nsIPlaintextEditor, or nsIHTMLEditor 
interfaces since they are App level features.
so this is just awaiting sr?  We wrap up 0.8 rsn so if this is going to make it
in it needs to happen in the next couple of days.
Whiteboard: fix in hand, awaiting review → fix in hand, awaiting review, critical for 0.8
sr=kin
r=anthonyd
removing awaiting review
Whiteboard: fix in hand, awaiting review, critical for 0.8 → fix in hand, critical for 0.8
landed joe's fix. oooooooooooooooooooh boy

anthonyd
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I'm reopening this bug. Joe's attatched patch was checked in, but without the
nsEditor D&D stubs we need to keep nsEditor useable.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Nevermind, I'll open a new bug regarding the stubs. Remarking FIXED.
Status: REOPENED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
I've opened bug #67985 to track the fact that we can no longer instantiate
nsEditor by itself. See bug #67985 for a complete list of methods that are
defined in nsIEditor but not implemented in nsEditor.
Keywords: mozilla0.8
verifying with optimized linux mozilla build from 8am today.
Status: RESOLVED → VERIFIED
OS: Windows ME → All
Hardware: PC → All
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: