StackRenderer - Question/Issue [message #1256610] |
Tue, 25 February 2014 16:04 |
|
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?
|
|
|
|
|
Re: StackRenderer - Question/Issue [message #1266649 is a reply to message #1266606] |
Fri, 07 March 2014 19:32 |
|
Eric,
I have not been able to cause the issue with eclipse itself, but using e4tools I created a new E4 Application with sample parts (adding only the DND and CleanUp addons). Following the same procedures above (dragging part to another position in the same stack) the toolbar items are duplicated.
-sean
|
|
|
|
Powered by
FUDForum. Page generated in 0.03792 seconds