statecharts icon indicating copy to clipboard operation
statecharts copied to clipboard

Applied styles are not visible after simulating statechart

Open svenjawendler opened this issue 8 years ago • 1 comments

This is a BUG: How to reproduce:

  1. Take a statechart. Color a state. See that the state is colored and changes the color.
  2. Simulate the statechart.
  3. Color another state. See that the properties are changed, but the color of the state does not change visually.
  4. After closing an reopening the sct file is visible.

Detailed analysis: After setting the background color the following classes are involved: -> ResizeableCompartmentEditPart (gmf.runtime..) line 323 'scrollPane.setBackgroundColor()' --> Figure (draw2d) line 1478 repaint() ... line 1423 getUpdateManager() -> DeferredUpdateManager queueWork() variable updateQueued should be FALSE, but is TRUE after simulation. Because of this it is not visualized. Somehow the variable was set but no performUpdate() called afterwards.

Solution Idea: Class DefaultDynamicNotationHandler.terminate() -> clean up more...

svenjawendler avatar Aug 07 '17 11:08 svenjawendler

Still appears: 31st Oct 2018, SCT 3.4.2.

svenjawendler avatar Oct 31 '18 13:10 svenjawendler