Closed Bug 17599 Opened 26 years ago Closed 25 years ago

Copy styled text from editor, paste to 4.61, get plain text

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: phil, Assigned: mikepinkerton)

Details

1. Open an HTML mail compose window in mozilla 2. Enter some formatted text 3. Select and copy code in mozilla 4. Open an HTML mail compose window in 4.61 and paste 5. Got HTML source code as plain text. Expected to get HTML formatted text. I think this used to work, but now it seems not to.
Assignee: beppe → kin
Target Milestone: M13
setting to M13 and assigning to Kin
Assignee: kin → akkana
would help if I assigned it to the right person -- assigning to Akkana
Assignee: akkana → pinkerton
This seems to be a Windows clipboard problem; I've seen it too. I think perhaps the windows clipboard is reporting the wrong data type for html pastes.
Also, If you copy text from notepad to mozilla then back to notepad: Newline characters show up as black boxes. I assume that's a null character, or a mac newline.
accepting.
Component: Editor → XP Toolkit/Widgets
Summary: Copy from mozilla, paste to 4.61, get HTML source code → Copy styled text from editor, paste to 4.61, get plain text
Updating to what happens now. Now you don't get the HTML, but unformatted text. 4.61 is probably looking for a different data flavor than what we're using now. I'll have to dig around to find what that actually is.
Does anyone know whether 4.x can actually accept HTML from other applications? I know it can accept HTML from itself and that is about it. My guess is that 4.x is unable to accept and HTML "text" string and then parse it. From my recent digging in the 4.x source they expect a very complicated data structure for an HTML paste that just wouln't be worth our time to create.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
After talking to Rod and Kathy, it appears that the format that 4.x uses for passing around HTML is a binary data structure. We do not want to attempt to duplicate that. The editor team explicitly does not want to handle backwards compatibility, especially since you can't even copy from 4.X _Navigator_ to 4.x composer and have it retain the html! Marking WONTFIX, as advised by Kathy.
Status: RESOLVED → VERIFIED
verified in 1/13 build.
You need to log in before you can comment on or make changes to this bug.