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

[bug] HTML graph is broken in Safari browser #17323

Closed
kambala-decapitator opened this issue Nov 16, 2024 · 2 comments · Fixed by #17335
Closed

[bug] HTML graph is broken in Safari browser #17323

kambala-decapitator opened this issue Nov 16, 2024 · 2 comments · Fixed by #17335
Assignees
Milestone

Comments

@kambala-decapitator
Copy link
Contributor

Describe the bug

Dependency graph generated with conan graph info . -f html > 1.html is unusable in Safari: sidebar controls don't work, legend appears in the middle of the screen (see SS). In Chromium-based browsers looks fine (tested in Vivaldi).

macOS 14.7, Conan 2.9.2, Safari 18.0.1

How to reproduce it

Sample HTML: 1.html.zip

Safari SS:
Screenshot 2024-11-16 at 16 56 02

Vivaldi SS:
Screenshot 2024-11-16 at 16 56 06

@AbrilRBS AbrilRBS self-assigned this Nov 16, 2024
@AbrilRBS AbrilRBS added this to the 2.10.0 milestone Nov 16, 2024
@AbrilRBS
Copy link
Member

Hi! Thanks a lot for your report

I've submitted #17335 to fix this for the next 2.10 release.

If this is a blocker for you, you can add a file to CONAN_HOME/templates/graph.html with the contents of the html template at https://github.com/AbrilRBS/conan/blob/ar/fix-graph-info-safari/conan/cli/formatters/graph/info_graph_html.py which will force Conan to use the updated template, which can then be removed once 2.10 is released :)

@kambala-decapitator
Copy link
Contributor Author

Thanks a lot! Not a blocker at all :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants