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

Bug 351372

Summary: TabFolder looses manifest decoration (Windows 7 pro, Java 1.6 update 26 only)
Product: [Eclipse Project] Platform Reporter: Konstantin Scheglov <Konstantin.Scheglov>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: Alexander.Mitin, arunkumar.thondapu, eclipse.felipe, luchesar.cekov, remy.suen, Silenio_Quarti, tbarth
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Broken TabFolder
none
Test case none

Description Konstantin Scheglov CLA 2011-07-06 16:48:31 EDT
I've upgraded to Eclipse 3.7 and noticed that when I use WindowBuilder, it somehow manages to break look of TabFolder. I never saw such problem with Eclipse 3.6 and earlier. Do you have any idea, what could cause this?
Comment 1 Konstantin Scheglov CLA 2011-07-06 16:49:03 EDT
Created attachment 199213 [details]
Broken TabFolder
Comment 2 Remy Suen CLA 2011-07-06 17:34:52 EDT
Is it broken in the search dialog (Ctrl+H)?
Comment 3 Konstantin Scheglov CLA 2011-07-07 09:02:15 EDT
Yes, when this problem happens, it happens for all TabFolders, including search dialog.
Comment 4 Konstantin Scheglov CLA 2011-07-07 09:41:18 EDT
Created attachment 199261 [details]
Test case

OK, I found how to reproduce this.
If I touch Swing, for example "new JPanel()", then TabFolder looses good look.

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

Eclipse SDK
Version: 3.7.0
Build id: I20110613-1736
Comment 5 Alexander Mitin CLA 2011-07-07 10:47:07 EDT
This affects the SWT running on Java 1.6.0_26, the TabFolder shows fine using Java 1.6.0_25.
Comment 6 Thomas Barth CLA 2011-07-08 03:48:28 EDT
The Tabfolders in my SWT application don't have the decoration on all Windows 7 systems. No problems with Linux and Windows XP and same JRE versions. But I didnt checked it with JRE 1.6.0_25, but any other JRE Version.
Comment 7 Felipe Heidrich CLA 2011-07-11 09:30:20 EDT
Arun, can you please try it ?
Comment 8 Felipe Heidrich CLA 2011-07-11 09:40:10 EDT
(In reply to comment #7)
> Arun, can you please try it ?

Sorry Arun, I meant to add you to this Bug 351494. Feel free to ignore this.
Comment 9 Arun Thondapu CLA 2011-07-12 05:15:00 EDT
(In reply to comment #8)

I happened to test this on my Ubuntu Linux 11.04 setup with Eclipse 3.7 and I didn't see any issues.

> (In reply to comment #7)
> > Arun, can you please try it ?
> 
> Sorry Arun, I meant to add you to this Bug 351494. Feel free to ignore this.
Comment 10 Konstantin Scheglov CLA 2011-07-12 09:25:30 EDT
(In reply to comment #9)

You will not see any difference in TabFolder look, because this is Windows only issue, and most probably JDK 1.6.0_26 only.
Comment 11 Felipe Heidrich CLA 2011-07-12 09:38:19 EDT
(In reply to comment #10)
> (In reply to comment #9)
> You will not see any difference in TabFolder look, because this is Windows only
> issue, and most probably JDK 1.6.0_26 only.

Indeed, I can reproduce this problem on my machine.
We also have this bug Bug 349387 with this VM.

We need to understand what type of change JDK 1.6.0_26 has to cause these problems.
Comment 12 Felipe Heidrich CLA 2011-07-20 12:14:36 EDT
closing as not eclipse

see bug 349387 comments 8 and 23