-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Fail to render dashed lifelines in sequence diagrams in PDF exports in v1.2025.0 #348
Comments
Thanks for the feedback! This issue is likely caused by the following change: plantuml/plantuml#2024 @michaelomichael Since "transparent" isn’t being recognized (even though it should be), do you think we could use |
@arnaudroques There was some translation going on in one of the layers which would automatically convert the magic string I would guess that using a different zero-alpha value (e.g. |
@michaelomichael Thanks for the idea! I've made a test using Could you check if it's still working for you? |
@arnaudroques Yes, the tooltips still work as expected with this change. |
Describe the bug
Using the 2025.0 version Docker images (both tomcat and jetty), exporting to PDF gives black bars in sequence diagrams. This does not happen when using version 2024.8. I have not verified if it is a problem outside Docker.
It seems to be a problem in the SVG to PDF conversion not recognizing "transparent" as a valid CSS color for the
fill
property, even though it should be.To Reproduce
Steps to reproduce the behavior:
docker run --rm -d --name plantuml -p 8080:8080 plantuml/plantuml-server:jetty-v1.2025.0
http://localhost:8080
docker logs plantuml
:Expected behavior
The exported PDF looks like the preview and what was
Screenshots
![Screenshot from 2025-01-09 17-16-47](https://private-user-images.githubusercontent.com/4539734/401616452-cb417639-5b75-48fc-8352-78b1f5e87490.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDA2MDEsIm5iZiI6MTczOTMwMDMwMSwicGF0aCI6Ii80NTM5NzM0LzQwMTYxNjQ1Mi1jYjQxNzYzOS01Yjc1LTQ4ZmMtODM1Mi03OGIxZjVlODc0OTAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTg1ODIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGZkOWI0ZTlkMGQxMjlkZjYxOGFkMzBiNTM4YzcwMmRjZDgyZDE1YTQ5YmVhYzkxZTZjMjdlMTdlYTRkMTJlNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.P5ChiCLdvK_BXzo9hYvZMBEWmpwKkA8drNL_79DK9B0)
Expected layout of exported PDF (as shown in the preview)
Actual exported PDF (here opened in Firefox. Looks the same in other PDF viewers)
![Screenshot from 2025-01-09 17-17-11](https://private-user-images.githubusercontent.com/4539734/401616500-fe4e0c9a-4e48-4503-aee5-16d9ac9cbdcc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDA2MDEsIm5iZiI6MTczOTMwMDMwMSwicGF0aCI6Ii80NTM5NzM0LzQwMTYxNjUwMC1mZTRlMGM5YS00ZTQ4LTQ1MDMtYWVlNS0xNmQ5YWM5Y2JkY2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTg1ODIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjFjNTY0ZjVmOGI1MWFkYjQwMTNjZWIwMjI1NmE4MWM1MzI4OWJjNTljZGE5M2UxNjViNzRmYTEwN2NmZWY5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.jMOqGiZCxOJBD1ZxV7qvKmTvRoW1aqbgmiW2E8FBLDY)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: