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

Bug 33102

Summary: [Coolbar] Noticeable flash when opening/switching editors
Product: [Eclipse Project] Platform Reporter: Lynne Kues <lynne_kues>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, n.a.edgar
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on: 32855    
Bug Blocks:    

Description Lynne Kues CLA 2003-02-25 15:06:03 EST
RC1.

Open a Java Perspective.
Open a *.java file. 

Notice that the coolbar noticeably flashes.  A big portion of the middle of the 
coolbar is erased then redrawn.

Open a Java Perspective.
Open a *.java file.
Open a *.class file.
Switch between the editors.

Notice the flash.

This is all being caused by SWT coolbar [Bug 32855].
Comment 1 Nick Edgar CLA 2003-02-25 23:36:22 EST
Should push on this one for RC2.  See comments in bug 32855.
Comment 2 Nick Edgar CLA 2003-02-27 11:41:23 EST
I've let the SWT team know that bug 32855 is on our wish list for 2.1.
Comment 3 Lynne Kues CLA 2003-02-28 15:40:21 EST
The following flashy cases exist:

Close all editors.
Open Java Perspective.
Open *.java file

Go to Resources Perspective.
Open *.java file.
Open *.class file ==> FLASH
Switch between the two editors ==> FLASH

Close all editors.
Go to Resources Perspective.
Open *.java file.
Reset Perspective.
Comment 4 Lynne Kues CLA 2003-02-28 19:02:45 EST
Felipe, I caught up to the latest code in SWT.  Here is what I have observed 
for the 3 scenarios above:

I only see improvement for the second scenario.  It is less flashy, but the 
grippers still flash - giving the illusion of overall flash.  Is there someway 
I can work around the stupid gripper flash?  There is a bug report for this 
behavior [Bug 17994].

For the third scenario, we can probably put a setRedraw(false) call somewhere 
or just leave it "as is" since it's not a common scenario.

For the first case, there is still something weird going on.  This behavior is 
the worst of the three scenarios and did not occur in R2.0.
Comment 5 Lynne Kues CLA 2003-02-28 19:11:28 EST
Actually Case 1 is better in a Java Perspective, but not in the Resources 
Perspective.  I will come up with another test case.
Comment 6 Lynne Kues CLA 2003-03-03 12:23:14 EST
Put in a setRedraw(false) during resetPerspective code to minimize the 
flash/cheese that occurs when the coolbar is reset.
Comment 7 Felipe Heidrich CLA 2003-03-04 12:40:24 EST
Lynne, I'm not able to workaround the flash problem with the gripper.
I will try to fix the others scenarios but I don't think I will be able to fix 
them before 2.1RC2. I've taken a look at them and they are not simple. Sorry.

Comment 8 Lynne Kues CLA 2003-03-11 17:51:06 EST
Marking as RC3, but depends on SWT bug 32855.
Comment 9 Nick Edgar CLA 2003-03-12 11:40:55 EST
The major flash in the middle has been fixed.
The grippers still flash.
If SWT addresses 32855, great, but I'm taking this off our RC3 list.
Comment 10 Nick Edgar CLA 2006-03-15 13:26:19 EST
Reassigning bugs in component areas that are changing ownership.
Comment 11 Eric Moffatt CLA 2006-04-04 14:19:13 EDT
3.2 M6 does not exhibit this behaviour under any of the given scenarios...

Re-open if you can supply a current scenario that shows this...