Bug 43597

Summary: [SWT] Text.setText(..) can change font inappropriately on Mac OSX
Product: [Eclipse Project] Platform Reporter: Chris McLaren <csmclaren>
Component: SWTAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: douglas.pollock
Version: 3.0   
Target Milestone: 3.0 M4   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Test case none

Description Chris McLaren CLA 2003-09-24 14:33:33 EDT
see the attached test case to duplicate the problem.

if you run the test case with just the first .setText call, you will see the correct unicode 
representation for the key sequence 'Command+X'. (Lucida Grande being the standard OS X font 
for menus and such)

if you run the test case with all three .setText calls, you will notice that the 'cloverleaf' symbol is no 
longer displayed correctly. 

it seems that the .setText call with the empty string argument does something bad to the font.

this problem is severe for our key sequence entry widget. marking as critical for M4.
Comment 1 Chris McLaren CLA 2003-09-24 14:34:17 EDT
Created attachment 6213 [details]
Test case
Comment 2 Chris McLaren CLA 2003-09-24 16:18:22 EDT
*** Bug 42023 has been marked as a duplicate of this bug. ***
Comment 3 Silenio Quarti CLA 2003-09-25 12:26:57 EDT
Fixed > 20030925.