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

Bug 317180

Summary: Screen cheese when starting fresh workspace
Product: [Eclipse Project] e4 Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: VERIFIED FIXED QA Contact: Bogdan Gheorghe <gheorghe>
Severity: major    
Priority: P3 CC: bokowski, danrubel, ob1.eclipse, remy.suen, tom.schindl
Version: 1.0   
Target Milestone: 1.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Picture showing screen cheese
none
Fix none

Description Dani Megert CLA 2010-06-17 10:18:24 EDT
http://download.eclipse.org/e4/sdk/drops/I20100616-2127/index.php.

Each time I start the workspace, the first thing I see is screen cheese.
See attached picture.
Comment 1 Thomas Schindl CLA 2010-06-17 10:22:20 EDT
Somehow screenshot is missing :-)
Comment 2 Dani Megert CLA 2010-06-17 10:25:29 EDT
I'd even says this is 'major' because it's the very first thing a user sees when starting Eclipse SDK 4.0.
Comment 3 Dani Megert CLA 2010-06-17 10:26:15 EDT
Created attachment 172125 [details]
Picture showing screen cheese
Comment 4 Remy Suen CLA 2010-06-17 10:50:29 EDT
I see this on XP default theme also and I think Windows 7 at home.
Comment 5 Remy Suen CLA 2010-06-21 10:11:52 EDT
*** Bug 317445 has been marked as a duplicate of this bug. ***
Comment 6 Dan Rubel CLA 2010-06-21 10:29:01 EDT
I see this using RC0 on Win7 64-bit
Comment 7 Thomas Schindl CLA 2010-06-27 04:25:00 EDT
Created attachment 172851 [details]
Fix

The problem is that at the first rendering we create the shadow image which calls the drawTabBody method with 60x60 which resets our shape.

The fix is to remember the calculated shape at the end of the method (or more general after having called drawShadow).
Comment 8 Thomas Schindl CLA 2010-06-27 04:29:22 EDT
I've released the change to HEAD so that we can check this fixes the problem for all of you.

@Bogdan: If you think the fix is not correct you can revert it anyways
Comment 9 Dani Megert CLA 2010-07-02 08:41:48 EDT
Verified in I20100701-1105.