Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328654

Summary: HTMLTransfer broken from Firefox --> SWT [Carbon]
Product: [Eclipse Project] Platform Reporter: Randy Hudson <hudsonr>
Component: SWTAssignee: Scott Kovatch <skovatch>
Status: RESOLVED FIXED QA Contact: Silenio Quarti <Silenio_Quarti>
Severity: major    
Priority: P3 CC: lihedl, skovatch
Version: 3.6   
Target Milestone: 3.7 M4   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 330122    
Attachments:
Description Flags
screenshot none

Description Randy Hudson CLA 2010-10-25 16:35:19 EDT
Created attachment 181677 [details]
screenshot

Modify Snippet94 to use the HTMLTransfer instead of the TextTransfer.  Swipe some HTML in firefox, and paste it into the running snippet.  Text is completely garbled as shown in screenshot.
Comment 1 Scott Kovatch CLA 2010-11-01 13:03:36 EDT
Looks like Carbon needs the same fix we had to apply to TextTransfer. The code in HTMLTransfer.nativeToJava is completely and utterly wrong.

Fixed > 20101101.

If you need this in 3.6.x, let us know. We're not actively working on Carbon for 3.7, but this was a simple copy/paste fix.
Comment 2 Scott Kovatch CLA 2010-11-01 13:03:54 EDT
As I said, fixed...
Comment 3 Randy Hudson CLA 2010-11-12 11:58:50 EST
It would be great if this were in the 3.6 stream.  The IDE I use is still built on 3.5, so 3.7 is a long way off.
Comment 4 Scott Kovatch CLA 2010-11-12 12:34:29 EST
Okay, I cloned it to 330122 for a 3.6 fix.