Closed Bug 11569 Opened 27 years ago Closed 26 years ago

[PP] Can't paste text copied from Ender back into Ender

Categories

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

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: mikepinkerton)

Details

* TITLE/SUMMARY [PP] Can't paste text copied from Ender back into Ender (known issue; writing up as courtesy for sfraser & akkana) * STEPS TO REPRODUCE 0) Launch Apprunner 1) From the Tasks menu, select Editor <you may need to resize the window in order to make text appear. known bug.> 2) Select "Here's the deal..." 3) From the Edit menu, select "Copy" 4) Place the text editing caret immediately before the "T" in "This is a good place". (or anywhere else, really...) 5) From the Edit menu, select "Paste" * RESULT - What happened Nothing. But, if you check the clipboard, you'll see that it does contain "Here's the deal...". Likewise, you *can*: a. copy text from another Mac OS application (e.g. Finder) into Ender b. copy text from Ender into another Mac OS application (e.g. once again, the Finder) - What was expected (self-explanatory) * REGRESSION - Occurs On Mac OS Apprunner (8.10.99 PM optimized build) - Doesn't Occur On Win32 Apprunner (8.10.99 AM optimized build [NT 4, Service Pack 3]) (Linux build is busted on my system; Akkana believed this was Mac OS-only.) * CONFIGURATIONS TESTED - [Mac] Power Mac 8500/120 (233 Mhz 604e), 64 MB RAM (VM on; 1 MB of VM used), 1024x768 (Thousands of Colors), Mac OS 8.6 - [Win32] Vectra VL (233 Mhz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3. - [Linux] Vectra VL (266 Mhz P2), 96 MB RAM.
[Doh...not that it matters, it was on a G3 266 Mhz, using this morning's build. Will update my bug template...]
Status: NEW → ASSIGNED
Target Milestone: M10
accepting bug, i'll get to this in m10 probably. At least it looks like all is not lost. probably just something in the way it is asking for html rather than plain text. This used to work, though....oh well.
More info: when I paste into ender text copied in ender, I get a printf "Don't know how to insert image yet" (which comes from nsHTMLEditor).
This means that the paste code inside the editor, when it asks the clipboard transferable for its mime type, is getting back an image type rather than html or text. Try breaking at nsHTMLEditor.cpp:3090, just after the call to GetAnyTransferData, and see what the flavor being returned is. (Or just enable the DEBUG_akkana printf right before that line.)
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → FIXED
lame bugs on my part in the mac code. Forgot to null terminate my mime mapping flavor string and had the wrong check on a result code from the OS. Tested and i can copy multi-style text in ender and paste it back into ender. It retains its multi-styleness.
Status: RESOLVED → REOPENED
I'm re-opening this one cause it does copy the text, but not the style(H1)
Status: REOPENED → RESOLVED
Closed: 27 years ago26 years ago
Resolution: FIXED → WORKSFORME
i don't think this is my problem anymore, since i can certainly paste text with multiple styles. must be a weird problem with how the <H1> is interpreted when you paste it into a <P> (since I can't actually paste on a line by itself because i can't get the insertion point there). Same thing happens on win32, so i don't think it's a toolkit problem. marking worksforme. a separate bug should be opened on this new problem.
Status: RESOLVED → VERIFIED
okay I'll file a separate bug. marking verified in 8/16 build.
Status: VERIFIED → REOPENED
[I'm correcting the resolution on this bug, as the bug as written has been specifically fixed.]
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: WORKSFORME → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.