Community
Participate
Working Groups
3.1 If you use IWorkbenchWindowConfigurer.setShowCoolBar/PerspectiveBar to be false the bars will not be created (as expected) but this value is not used to populate the fields on WorkbenchWindow which are true by default. The result is that querying the window for visibility of these items returns true even when they are not visible. MvM, feel free to punt this back to me if you don't have time to deal with it. It's a requirement for bug 104280.
Boris is messing around with coolbar etc... right now.
Created attachment 25153 [details] Test case (patch for WorkbenchWindowConfigurerTest.java)
Created attachment 25154 [details] fix for this bug (patch to org.eclipse.ui.workbench)
Kim, could you release the test case and the fix for me? Thanks!
Sorry for the delay - patches submitted.
This still doesn't appear to be working.
Steps to witness: 1) Check out the browser example from CVS and add the following lines to the preWindowOpen() method of the BrowserWindowAdvisor: configurer.setShowPerspectiveBar(false); configurer.setShowCoolBar(false); 2) Set a breakpoint at line 190 of the CarbonUIEnhancer class (on OS X of course). 3) launch a debug workspace and step through the next two statements. Both coolBarInitiallyVsible and perspectiveBarInitiallyVsible will be true.
The CarbonUIEnhancer code is called from a syncExec in an earlyStartup. We need a test case involving an earlyStartup extension.
Is this bug going to be fixed for M1? If not, then please change the milestone....
Changed target milestone to 3.2 M2.
The values are not set in the case of the browser example because the BrowserWindowAdvisor implements createWindowContents, replacing the default behaviour which sets the booleans.
Created attachment 25984 [details] updates the test (patch to o.e.ui.tests.rcp)
Created attachment 25985 [details] update to make the new test pass (patch to o.e.ui.workbench)
Kim, could you commit the patches for me (after 3.2 M1)? Thanks!
Patches committed.
Verified in I20050920-0010 by m4d h4x0r1n6 the browser example