Sequence activation bar operator --++ with mixed usages of activate/deactivate results in stacked bars.

0 votes
asked Feb 26, 2021 in Bug by anonymous
This doesn't look intended:

@startuml
alice -> bob: hello
activate bob #gold
bob -> alice --++ #gold: you too
activate alice #LightSkyBlue
alice -> bob: step
deactivate alice
alice -> bob: step
deactivate alice
@enduml

It seems to be the mixture of a regular activated bob with the new --++ operator deactivation ob bob and double activation of alice.

2 Answers

0 votes
answered Feb 26, 2021 by The-Lu (63,920 points)

Hello A.,

From documentation here:

Yes, it doesn't yet intended (it not a bug), but a wanted feature, see also:

If that can help,
Regards,
Th.

0 votes
answered Mar 8, 2021 by The-Lu (63,920 points)

Hello A.,

Now, this new functionality is developed (on v1.2021.2), and your observation it is a side effect:

Then a recommendation will be now to not mix the two forms:

  • either old form (with color change):
  • either new form (without color change due to [only one color on the line]):
bob -> alice --++ #gold: you too

If that can help,
Regards,
Th.

...