StackRenderer - Question/Issue [message #1256610] |
Tue, 25 February 2014 11:04  |
Eclipse User |
|
|
|
RCP Application/Eclipse SDK 4.3.1
I am having an issue when dragging a Part to a different position within the same PartStack. Once the part is dropped to the new position, the view's toolbar contains toolbar items from 1+ of the other parts in the same PartStack. Once this happens every part withing that PartStack (which has a toolbar) will have their toolbar rendered incorrectly (extra toolbar items from another part).
After some initial debugging I was able to determine this is happening because after the drag/drop there are multiple toolbars associated with the CTabFolder's TOP_RIGHT composite. Whereas in the StackRenderer the "clearTR(CTabFolder)" will only hide the first matching toolbar, meaning the other toolbars are left visible.
I have found a workaround by providing my own StackRenderer which hides all toolbars from the clearTR call, but I would prfer not to have this. Also, I've updated to the latest stable (4.3.1) without resolution.
So my question is:
1) Is this a known issue (I've searched the forums and bugs without anything which seems to match)?
2) Should there ever only be 1 toolbar associated with the (TOP_RIGHT) composite of a CTabFolder (which has MToolbar 'OWNING_ME' data) ?
3) If yes to #2, any ideas how this could be happening or how to debug further?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03829 seconds