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

Possibly incompatibility with excalidraw plugin #306

Open
ahus1 opened this issue Jul 2, 2024 · 3 comments
Open

Possibly incompatibility with excalidraw plugin #306

ahus1 opened this issue Jul 2, 2024 · 3 comments

Comments

@ahus1
Copy link
Collaborator

ahus1 commented Jul 2, 2024

I am seeing the same on a newly created test.drawio file with IntelliJ IDEA 2024.1.4 (Ultimate Edition).
Plugin Version: 0.2.5. I also noticed that if I open an .excalidraw file and then try to open drawio file, the diagrams.net editor tab is blank and the javascript error is not thrown. The text tab however does show,

<mxfile host="drawio-plugin" modified="2024-07-01T11:02:36.742Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" etag="Dji5AivguUxyMm4vRWLs" version="22.1.22" type="embed"> <diagram id="e7ZzsfV50o_wK7zJQMkf" name="Page-1"> <mxGraphModel dx="1359" dy="1067" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="3300" pageHeight="2339" math="0" shadow="0"> <root> <mxCell id="0" /> <mxCell id="1" parent="0" /> <mxCell id="3" value="Actor" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" parent="1" vertex="1"> <mxGeometry x="80" y="130" width="30" height="60" as="geometry" /> </mxCell> <mxCell id="4" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;align=center;strokeColor=none;fillColor=#00BEF2;shape=mxgraph.azure.github_code;pointerEvents=1;" parent="1" vertex="1"> <mxGeometry x="230" y="135" width="50" height="50" as="geometry" /> </mxCell> <mxCell id="5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="3" target="4" edge="1"> <mxGeometry relative="1" as="geometry" /> </mxCell> <mxCell id="6" value="&lt;font color=&quot;#990000&quot;&gt;PUSH&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];strokeColor=#994C00;" vertex="1" connectable="0" parent="5"> <mxGeometry x="-0.2333" relative="1" as="geometry"> <mxPoint x="10" as="offset" /> </mxGeometry> </mxCell> </root> </mxGraphModel> </diagram> </mxfile>

@
diagram-pane-example

The only way I figured out how to get the diagram work pane to load/show again is to terminate IDEA in full ( not just close IDEA but also the 'Welcome to IntelliJ IDEA..' floating pop up.

This is all with a simple test file. Good work all the same!

Les

Originally posted by @Les-Fleming in #301 (comment)

@ahus1
Copy link
Collaborator Author

ahus1 commented Jul 2, 2024

@Les-Fleming - I've moved your comment here as it might be rooted in a different cause.

@Les-Fleming
Copy link

Thank you very much for taking the time to respond. After your recent update, the issue seems to be resolved as I do not see the error anymore. If this should change, I will let you know.

Thanks for this amazing plugin.

@ahus1
Copy link
Collaborator Author

ahus1 commented Jul 6, 2024

Oh, thank you for reporting back! It looked like an independent problem to me first. I'm closing this issue then.

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

No branches or pull requests

2 participants