Stereotypes don't work with multi-line activity in beta

+1 vote
asked Aug 4, 2021 in Bug by BungledB (180 points)

I can't get stereotypes to work with activites that are broken across lines. I tried various combinations, but it always fails. Feels like it might be a bug in the beta.

This works:

@startuml
skinparam activity {
    BackgroundColor Olive
    BackgroundColor<<AltCol>> Green
}

start
:Act 1;
<<AltCol>>:Act 2;
:Multi line
Act;
stop
@enduml

But this does not:

@startuml
skinparam activity {
    BackgroundColor Olive
    BackgroundColor<<AltCol>> Green
}

start
:Act 1;
:Act 2;
<<AltCol>>:Multi line
Act;
stop
@enduml

commented Sep 13, 2023 by The-Lu (76,720 points)

Hi B., and all,

Just FYI, I just open this similar issue here:

https://github.com/plantuml/plantuml/issues/1534

Regards

1 Answer

+1 vote
answered Nov 27, 2024 by The-Lu (76,720 points)
selected Nov 27, 2024 by BungledB
 
Best answer

Hello B.,

FYI: that is fixed since V1.2024.4 (April 6, 2024).

@startuml
skinparam activity {
    BackgroundColor Olive
    BackgroundColor<<AltCol>> Green
}

start
:Act 1;
:Act 2;
:Multi line
Act; <<AltCol>>
stop
@enduml

Ref.:

Enjoy,
Regards,
Th.

...