Bug 205056 - [Contexts] Context become inactive when new Shell window is opened
Summary: [Contexts] Context become inactive when new Shell window is opened
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4   Edit
Assignee: Paul Webster CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2007-10-01 10:22 EDT by Tomas Krecmer CLA
Modified: 2008-01-07 14:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Krecmer CLA 2007-10-01 10:22:06 EDT
Build ID: I20070625-1500

Steps To Reproduce:
I am using contexts as way how to show toolbar items. Proper context is enabled programically. When i open new shell then after shell.open() only contexts org.eclipse.ui.contexts.dialog, org.eclipse.ui.contexts.dialogAndWindow remain and my context is not marked as active. When i then close shell my context is activated and visibility of my toolbar is reevaluated. It causes very bothering flashing. What is strange it doesnt occur every time and i am not able to determine cause. When i set my context on newly created shell it NEVER occurs. Should newly created shell inherit active contexts?

More information:
Comment 1 Paul Webster CLA 2007-10-04 12:17:48 EDT
What code are you using to programmatically activate the contexts?  Where are you getting the IContextService from?

PW
Comment 2 Paul Webster CLA 2008-01-07 14:36:22 EST
Please  re-open with requested info.

PW