Community
Participate
Working Groups
Created attachment 103178 [details] Bar on the left. Steps To Reproduce: 1. Create new Plug-in project (target: Eclipse 3.3, RCP app, RCP application with a view template) 2. Edit ApplicationWorkbenchWindowAdvisor.java 3. Add following line to preWindowOpen() method: configurer.setShowPerspectiveBar(true); 4. Run the application and choose 'Dock on -> Top Right' => nothing changes, the bar stays where it was 5. Choose 'Dock on -> Left' => big empty space is left below the main menu.
I've just tried this using 3.3.2 and find a slightly different result; I can successfully switch between 'left' and 'top left' and 'top right' but some of the strange layout behavior does manifest. There are two things you can try in order to mitigate these. I'm also pretty sure that the large blank area you're seeing is the result of there being no actual tools contributed to the Toolbar (actually the CoolBar). SWT has a nasty habit of returning an arbitrary value of 64, 64 as the default value for 'computeSize'. What happens if you add a tool contribution?
This screenshot was made, when coolbar visibility was set to false by configurer.setShowCoolBar(false); I don't have a need for coolbar in my app, I want it to be invisible. I set coolbar visibility to true, I attach screenshots with results.
Created attachment 103409 [details] Screenshot. Coolbar is visible, perspective bar is located on Top Left.
Created attachment 103410 [details] Screenshot of the perspective bar on the right (to big). Coolbar visible, perspective bar located on Top Right. This result is more-less what I want, but I want perspective bar not to be so tall.
I just noticed, that I have given you wrong version number - all the screenshots were taken, where target platform version was 3.4. Build number: I20080516-1333
Further investigation results: Coolbar invisible -> Perspective Bar does not move to the right at all Coolbar visible but empty -> Perspective Bar moves to the right, but is much too big (probably tdue to 64x64 default size, as you mentioned) Coolbar visible and an action on it -> Perspective bar works correctly I think that methods setShowXXX should be independent from one another. One method cannot work only if there is an expected combination of values in other methods.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.