Community
Participate
Working Groups
When an shapecompartment figure is placed on a diagram, and it is made very small, the compartment control (the little triangle controlling whether a compartment is show or collapsed) will end up outside of the shape.
Created attachment 49110 [details] fix for ResizableCompartmentEditPolicy An attempt to fix this issue. Modified ResizableCompartmentEditPolicy to draw or erase handles depending on the sizes of compartment figure and its container. Code hasn't been reviewed yet.
Created attachment 49217 [details] Revised and reviews fix The fix for the bug. Includes the fix for an issue with making comaprtments visiible/invisible, i.e. listener to the visibility event is removed. Fix with 2 figure listeners. each figureMoved event takes up for about 8000-20000 nano seconds. Reviewed and can be commited.
The fix for this bug has been included in the fix for Bugzilla #154531 The modification to the patch uploaded here is instead of creating-adding and removing-deleting collapse handles they are being made visible/invisible when appropriate.
Created attachment 49495 [details] updated patch The patch that fixes the problem. Ready to be commited.
patch is commited, marking as fixed
This fix removes the collapse handles when they shouldn't be removed in a client scenario.
Created attachment 50315 [details] corrected Here is a much better patch with a correct condition for hiding the handles. (also no figure listeners). Tested with the client application, so far no problems noticed
added Cherie in CC, since she noticed that the previous fix was insufficient
Created attachment 50393 [details] final patch Here is the final patch. Moved showing/hiding logic from CompartmentCollapseHandle into CollapseFigure. Manually tested with the client application - no problems noticed.
Created attachment 50436 [details] patch corrected and optimized Optimized condition
Committed the new patch.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug