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

Bug 319829

Summary: [Compatibility] Cheese for a view's toolbar that's in two perspectives
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:
Attachments:
Description Flags
Screenshot depicting the horror in question.
none
Ensure that background stacks don't have 'top right' controls none

Description Remy Suen CLA 2010-07-14 06:41:14 EDT
Created attachment 174278 [details]
Screenshot depicting the horror in question.

This is in my inner.

1. Ctrl+3 > perspectives cvs > Perspectives CVS Repository Browsing
2. Ctrl+F8 > Java
3. Ctrl+3 > cvs re > Views CVS Repositories
4. Ctrl+F8 > CVS Repository Browsing
5. Ctrl+F8 > Java
6. Cheese can be spotted in the bottom stack. Resizing doesn't really help, it'll flicker a bit but the cheese will stay.
Comment 1 Remy Suen CLA 2010-07-14 07:19:24 EDT
Confirmed on XP with I20100713-2016 also.

You can actually just reproduce the problem by doing steps 1 to 3 and then resizing the window. The toolbar will start flickering/jumping around.
Comment 2 Eric Moffatt CLA 2010-07-14 16:14:43 EDT
Created attachment 174339 [details]
Ensure that background stacks don't have 'top right' controls


The base cause of this defect is that if a view was 'on top' in two different perspectives then *both* CTabFolders had the same control set as the top right control (the flicker was caused by the background CTF moving the control to where *it* thought the TB should be even though its parent was the foreground CTF).

The patch also contains some extra cleanup code in 'hideChild' that mirrors the code in showTab as far as getting rid of the existing tip right control.
Comment 3 Remy Suen CLA 2011-06-20 14:21:29 EDT
Cannot reproduce with I20110617-1015 on Windows XP.