Closed sivaswami closed 9 months ago
Unfortunately, we cannot reproduce. Please send us the full configuration and steps to reproduce
Full configuration: https://gist.github.com/sivaswami/e706a926de8db30fae7a121c323486ec
Thanks for the file and detailed steps.
Unfortunately, we still cannot reproduce. Once the instance is closed, the default style is cleared even if the file is saved.
This is what I see. After starting the draw.io, even if my configuration contained font size as "15pt", I see it defaults to "12"
This issue happens in sketch theme. I tried the same with other theme, works fine.
Thanks for the detailed info, we managed to reproduce and the issue will be fixed in the next release Thanks for the report
In desktop release 22.1.18
Thanks. Verified the fix. working
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug A clear and concise description of what the bug is. I use the below entry inside Configuration for my default vertex configuration. I set my fontsize as "15", but the default node is coming with Node size "12 pt". What is the difference btw "Set Default Style" option and the "defaultVertexStyle" configuration ? I believe "set default style" is for a particular session and defaultVertexStyle is for persistence of style across multiple sessions. Please confirm ?
To Reproduce Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Go to configuration
Add the below entry as part of configuration (only part of configuration is pasted below)
"defaultVertexStyle": { "rounded": "1", "arcSize": "50", "align": "center", "html": "1", "fontSize": 15, "fontFamily": "Pangolin", "fontStyle": 1, "fontSource": "https://fonts.googleapis.com/css?family=Pangolin&display=swap", "fillColor": "#E8EAF6", "fontColor": "#000000", "strokeColor": "#0A1172", "sketch": "1", "curveFitting": "1", "jiggle": "2", "fillStyle": "solid", "strokeWidth": "3", "whiteSpace": "wrap" }
Apply configuration and restart Draw.io
Create a new node.
The new vertex style will not match "Configured" vertex style.
Expected behavior A clear and concise description of what you expected to happen.
The startup vertex style to match entry in the Persisted configuration rather than "set default style" option.
Screenshots If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context Add any other context about the problem here.