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

Bug 62411

Summary: [Workbench] ApplicationWindow's CoolBar does not re-layout window's contents on CoolItem's drag
Product: [Eclipse Project] Platform Reporter: Willian Mitsuda <wmitsuda>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r
Version: 3.0Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
Source code demonstrating the problem
none
Shows what happens when the second CoolItem is dragged down
none
Shows what happens after a redraw is induced (minimize/restore window) none

Description Willian Mitsuda CLA 2004-05-15 19:53:01 EDT
In JFace, when you subclass ApplicationWindow and enable a CoolBar using the new
APIs (addCoolBar, createCoolBarManager) with 2 or more CoolItems
(CoolBarManager.addToolBarManager), it does not layout correctly the client area
when one CoolItem is dragged down.

I will attach a code snippet demonstrating the problem.
Comment 1 Willian Mitsuda CLA 2004-05-15 19:55:23 EDT
Created attachment 10698 [details]
Source code demonstrating the problem
Comment 2 Willian Mitsuda CLA 2004-05-15 19:59:18 EDT
Created attachment 10699 [details]
Shows what happens when the second CoolItem is dragged down
Comment 3 Willian Mitsuda CLA 2004-05-15 20:03:15 EDT
Created attachment 10700 [details]
Shows what happens after a redraw is induced (minimize/restore window)
Comment 4 Stefan Xenos CLA 2004-05-19 18:23:38 EDT

*** This bug has been marked as a duplicate of 52362 ***
Comment 5 Willian Mitsuda CLA 2004-05-23 21:46:22 EDT
This bug was marked as a duplicate of 52362, which was fixed/closed, but the
sample code I attached still does not work in M9.
Comment 6 Douglas Pollock CLA 2005-10-06 13:51:17 EDT
Reassigning the last of Stefan's bugs. 
Comment 7 Michael Van Meekeren CLA 2005-10-13 14:29:41 EDT
seems related to other issues with coolbar sizing etc...  moving to BB
Comment 8 Steve Northover CLA 2006-10-26 18:29:59 EDT
*** Bug 162369 has been marked as a duplicate of this bug. ***
Comment 9 Eclipse Webmaster CLA 2019-09-06 16:14:25 EDT
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.
Comment 10 Eclipse Genie CLA 2022-03-01 05:36:54 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.