Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stereotype won't be hidden with "hide stereotype" #1768

Closed
boessu opened this issue May 7, 2024 · 2 comments
Closed

Stereotype won't be hidden with "hide stereotype" #1768

boessu opened this issue May 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@boessu
Copy link
Contributor

boessu commented May 7, 2024

Describe the bug
The stereotypes won't be hidden with hide stereotype always if there is a stereotype style defined.

To Reproduce
The following code

@startuml

hide stereotype

rectangle foo <<boo>> {
	rectangle bar <<boo>>
}

@enduml

produces in the version 1.2024.3 the following output
image

The same code produces in version 1.2024.5beta1 (online at the moment) the following output:
image

Expected behavior
In my point of view, what version 1.2024.3 produces is the expected behaviour (hide all stereotypes, no matter how the rectangle is used).

additional context
The problem only occurs if the element has no sprite symbol (e.g. rectangle <$icon> foo <<boo>> {...} doesn't have that problem). Altough it is possible that there are now plantuml-stdlib's with a bit unexpected visual behaviours in some situations (I noted the problem in the edgy lib).

@github-actions github-actions bot added the triage label May 7, 2024
@The-Lum The-Lum added bug Something isn't working and removed triage labels May 7, 2024
@travkin79
Copy link
Contributor

Thanks for the report @boessu and thanks for the hint @The-Lum,
I think, that's a regression coming from one of my last PRs #1587 and #1736.
I'll check this case, too, and will try to fix it in an additional PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants