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
[Issue] Changed xml namespace url affects TechDraw templates #9394
Comments
Let me know what needs to happen to the configs on the Snap side of things. |
This can be ruled out. As a start point you can use 96bf293 |
The change to blame is PR #9352 |
I don't know. Must be checked first. EDIT: It's the changes made to DrawUtil.h: FREECAD_SVG_NS_URI is used for the XML query and because it doesn't match any more it won't find the click handles. |
can it be made to match either freecad or freecadweb variations or do we revert to freecadweb here? If we need to go back to freecadweb it probably needs to be reverted on all built-in templates too |
Thanks @wwmayer. I was still in mid-bisect. Notice to custom template users: |
"can it be made to match either freecad or freecadweb variations or do we revert to freecadweb here?" Going forward, we can change the code to use either url, but the v0.20 and earlier standard templates will still point to freecadweb and the old code will still look for freecadweb. As long as the freecadweb url is still valid the old version will still work. Is freecadweb going to be removed any time soon? |
Could the references to Snap please be removed as this applies to all, does it not? |
Keeping the freecadweb domain redirect shouldn't be expensive so I don't think there's any reason to get rid of it |
We have to keep ownership of the freecadweb domain for 2 main reasons: it's an important legacy URL for the project and also has many many years of search engine history (people buy domain names just for that these days because of traffic and high search ranking |
@luzpaz was that a mistake or was this fixed and I missed it? |
My bad, fat fingers |
@WandererFan |
completed. |
Is there an existing issue for this?
Forums discussion
https://forum.freecad.org/viewtopic.php?t=77905
Version
0.21 (Development)
Full version info
[code] OS: Ubuntu Core 20 (X-Cinnamon/cinnamon) Word size of FreeCAD: 64-bit Version: 0.21.0.33004 (Git) Snap 686 Build type: Release Branch: master Hash: 8c382af744f9a5cddd06f9195daa5629dbcf7536 Python 3.8.10, Qt 5.15.7, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3 Locale: English/Canada (en_CA) Installed mods: * A2plus 0.4.60k [/code]
Subproject(s) affected?
Techdraw
Issue description
Local build and AppImage display OP's custom template correctly, Snap does not. Snap version does display templates from the distribution correctly.
Possibly related to recent changes to Svg handling for Qt6??
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: