Bug 151124

Summary: TabFolder background not drawn when using skins for Windows XP
Product: [Eclipse Project] Platform Reporter: Rade Martinović <rocky_mm>
Component: SWTAssignee: Steve Northover <steve_northover>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: minor    
Priority: P3 CC: pwebster, rocky_mm
Version: 3.2Keywords: ui, usability
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rade Martinović CLA 2006-07-19 15:23:49 EDT
When using some appearance skins for Windows XP, like Reluna, search field appears transparent and broken, making it unusable. This used to work in 3.0.2 and 3.1.2.

Here's a screen shot: http://tesla.rcub.bg.ac.yu/~rocky/EclipseBug.png

Same thing happens with Altium Designer. (though that is not your problem :))
Comment 1 Rade Martinović CLA 2006-07-19 15:35:57 EDT
About reproducing the bug. You need to install first the skin patcher for Windows XP (which is not ... ehm ... recommended by Microsoft), and then the skin itself. I will not list information how to do it right now, because this is really a minor bug, but what BUGS me is that it used to work in previous versions of Eclipse.

If you need more information about reproducing this bug, please contact me.
Comment 2 Paul Webster CLA 2006-07-28 09:33:41 EDT
Can the inclusion of the XP manifest in 3.2 cause this interaction?

Moving to SWT for comment.

PW
Comment 3 Steve Northover CLA 2006-08-14 18:52:43 EDT
I won't be installing any software that is not ... ehm ... recommended by Microsoft.  If you reboot and/or restart Eclipse, is the bug fixed?
Comment 4 Steve Northover CLA 2006-08-14 19:00:19 EDT
Eclipse was changed for 3.2 to draw the gradient for TabFolders.  The operating system call we use is DrawThemeBackground().  We call it in SWT from TabFolder.drawThemeBackground().  Feel free to investigate and see if we are doing something wrong.
Comment 5 Rade Martinović CLA 2007-08-20 14:25:14 EDT
A year has passed since I've reported this bug. 

I haven't tested it in 3.3, nor have I inspected Eclipse code beacuse I feel that this was skin's problem, not Eclipse's. Even more so because the bug could be reproduced in other programs (namely Altium Designer). 

It just seems that some WindowsXP skin authors choose to neglect coding every single bit of a skin, so things like DrawThemeBackground() returning nothing can happen.

So, I change this to NOT_ECLIPSE.
Comment 6 Steve Northover CLA 2007-08-21 08:25:24 EDT
Thanks for getting back to us.