Bug 43597 - [SWT] Text.setText(..) can change font inappropriately on Mac OSX
Summary: [SWT] Text.setText(..) can change font inappropriately on Mac OSX
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 42023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-24 14:33 EDT by Chris McLaren CLA
Modified: 2003-09-25 12:26 EDT (History)
1 user (show)

See Also:


Attachments
Test case (882 bytes, text/plain)
2003-09-24 14:34 EDT, Chris McLaren CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.