Bug 106289 - Blurry Tree text in second column
Summary: Blurry Tree text in second column
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Steve Northover CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-06 19:27 EDT by Mark McLaren CLA Friend
Modified: 2006-02-18 23:39 EST (History)
2 users (show)

See Also:


Attachments
Blurry text in columns 2 and 3 (12.55 KB, image/png)
2005-08-06 19:31 EDT, Mark McLaren CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark McLaren CLA Friend 2005-08-06 19:27:01 EDT
When running the sample Tree-with-columns snippet (Snippet170) I'm getting
'blurry' text in columns 2 and 3 after selecting an item.  It's like the
antialiasing has been applied many times.
Comment 1 Mark McLaren CLA Friend 2005-08-06 19:31:17 EDT
Created attachment 25812 [details]
Blurry text in columns 2 and 3

Attaching a screenshot of problem.  Note that the more you change the selected
tree item, the more blurry the text in columns 2 and 3 gets.
Comment 2 Steve Northover CLA Friend 2005-08-08 11:13:41 EDT
This WORKSFORME.  Are there some Windows settings I need to do to make this 
happen on my machine?
Comment 3 Mark McLaren CLA Friend 2005-08-08 18:18:25 EDT
Sorry should have mentioned I have enabled 'Cleartype', Microsoft's nice little
antialising feature.  

Go to Control Panel -> Display -> Appearance, and select 'Clear Type'.  

Also, I'm using Windows XP Profession with SP2.
Comment 4 Steve Northover CLA Friend 2005-08-09 10:54:21 EDT
Ok, I can make it happen now.
Comment 5 Steve Northover CLA Friend 2005-08-10 09:59:32 EDT
Fixed > 20050810
Comment 6 Veronika Irvine CLA Friend 2005-09-09 14:46:25 EDT
This has not been patched to 3.1.1.
Reopening to consider for 3.1.1.
Comment 7 Billy Biggs CLA Friend 2005-09-09 16:29:41 EDT
Fixed in the maintenance stream > 20050909.
Comment 8 Veronika Irvine CLA Friend 2005-10-06 15:51:12 EDT
Backed out change from 3.1.1 because it caused bug 111836
Comment 9 Florian Priester CLA Friend 2006-02-17 12:25:12 EST
The problem is visible again in versions >= 3223. This bug should be reopened.
Comment 10 Steve Northover CLA Friend 2006-02-17 12:54:42 EST
Ok then.
Comment 11 Steve Northover CLA Friend 2006-02-18 23:39:58 EST
Fixed > 20060218 (again)

With all the recent changes to Tree, I keep forgetting that it is necessary to always fill the background where the text is drawn (ie. I fall for OS.SetBkMode (hDC, OS.TRANSPARENT)).  Thanks for keeping me honest.  Hopefully I won't fall for it again for 3.2!