Bug 249582 - Coolbar spoils the whole appearance of the workplace
Summary: Coolbar spoils the whole appearance of the workplace
Status: RESOLVED WONTFIX
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
: 391094 (view as bug list)
Depends on: 85261
Blocks:
  Show dependency tree
 
Reported: 2008-10-03 05:50 EDT by Sergey N. Yashin CLA
Modified: 2012-10-04 05:06 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey N. Yashin CLA 2008-10-03 05:50:27 EDT
If Coolbar have not contain actions and is left blank and used only to switch perspectives, then Coolbar becomes very high and spoils the whole appearance of the workplace.
Comment 1 Ivan Furnadjiev CLA 2008-12-18 04:26:29 EST
I can reproduce it with the Workbench Demo. Just leave the DemoActionBarAdvisor#fillCoolBar() empty. Can you check this in RCP? Is the Coolbar height OK in the RCP?
Comment 2 Benjamin Wolff CLA 2009-02-07 11:57:39 EST
i have checked it with RCP 3.4, strangely there is the same wrong behaviour. seems like a bug in RCP :(((
Comment 3 Benjamin Muskalla CLA 2009-02-07 12:08:54 EST
See the corresponding SWT bug

https://bugs.eclipse.org/bugs/show_bug.cgi?id=85261

If nobody minds I'll close this as wontfix until the SWT bug is fixed.
Comment 4 Benjamin Muskalla CLA 2009-02-10 04:30:51 EST
Will leave it open with a depedency to the SWT bug
Comment 5 Ivan Furnadjiev CLA 2009-10-28 06:57:43 EDT
The actual SWT bug is https://bugs.eclipse.org/bugs/show_bug.cgi?id=104545. The only change for this bug is to make the default width/height of the CoolBar 0, 0. But... we have a CBanner, which left composite has a CoolBar as a child with zero height. This triggers the default size (height) of the this Composite - 64. One possible workaround is to set the default CoolBar height to something different than 0 ( 1 will do the trick ). Thus, the CBanner left composite will have a preferred height of 1 instead of default 64 ( triggered by 0 height of CoolBar ).
Comment 6 Ivan Furnadjiev CLA 2009-10-28 09:48:01 EDT
As this is an issue with RCP too, please reopen the bug when it is fixed there.
Comment 7 Ivan Furnadjiev CLA 2012-10-04 05:06:28 EDT
*** Bug 391094 has been marked as a duplicate of this bug. ***