[Sequence] QueueBorderColor not respected

0 votes
asked Mar 9 in Bug by jvinding (140 points)

in this sequence diagram, "QueueBorderColor" is not respected, the queue instead takes the color from "EntityBorderColor"

Steps to reproduce

1. Create a sequence diagram with the following code:

@startuml
skinparam QueueBorderColor #f00
skinparam QueueBackgroundColor #0f0
skinparam EntityBorderColor #00f
queue Bob
queue Alice
Bob -> Alice : hello
@enduml

or click this url to the demo server: http://www.plantuml.com/plantuml/png/SoWkIImgAStDuIhEpimhI2nAp5K8B4qjJNNABqf9BNBEpyalKb1ECp30a4zCpauloY_DIu6gCKX3LkEQLv9PKebYY8516bSXIAk2KtuIbEMOavcSoWNaA-ZQGJWALWePgJav-LmEgNafG7S10000

Expected

The queue's borders would be red as defined by "QueueBorderColor"

Actual

The queue's borders are blue which is defined by "EntityBorderColor"

Note

The QueueBackgroundColor works as expected

1 Answer

0 votes
answered Mar 11 by plantuml (215,660 points)
Thanks for the detailled report : it really helps !

This should be solved in last beta http://beta.plantuml.net/plantuml.jar
commented Mar 11 by jvinding (140 points)

Thank you, that is better. However, now I've noticed that QueueBorderColor does not respect stereotypes:

Steps to reproduce

1. Create a sequence diagram with the following code

@startuml
skinparam QueueBorderColor #f00
skinparam QueueBorderColor<<cooper>> #00f
skinparam QueueBackgroundColor #0f0
skinparam QueueBackgroundColor<<cooper>> #ff0
queue Bob
queue Alice <<cooper>>
Bob -> Alice : hello
@enduml

Demo Server URL:

http://www.plantuml.com/plantuml/png/VSnH2i8m3CRnzvuYi6SXppBAd2Vm2BLDTInjPhRStma5GM5l8T-F_x1kGJShxDPvgalGKE1cP3IA9jAhi2Xq6V5Wx_ieif1w3nrY_fCXpWyLgwdLCEE1-ItcNRy-1aQvj-l2KoJuAhTFSFBjVuOdCOiRg2Oh_0O0

Expected

Border of "Alice" should be as defined by `QueueBorderColor<<cooper>>`

Actual

Border of "Alice" is red as defined by `QueueBorderColor`

Note

QueueBackgroundColor does respect the stereotype

commented Mar 12 by plantuml (215,660 points)
Thanks again!

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Please tell us if you find other issues :-)
commented Mar 13 by jvinding (140 points)

Thanks, it still fails if "hide stereotype" is enabled.

Here's the new example

    @startuml
    hide stereotype
    skinparam QueueBorderColor #f00
    skinparam QueueBorderColor<<cooper>> #00f
    skinparam QueueBackgroundColor #0f0
    skinparam QueueBackgroundColor<<cooper>> #ff0
    queue Bob
    queue Alice <<cooper>>
    Bob -> Alice : hello
    @enduml

...