Bug #102272
opencustom doktype icons not visible in page tree
0%
Description
I tried to add new page types. For this i used this documentation.
https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/PageTypes/CreateNewPageType.html
I registered own icons and used them.
in the page tree toolbar on top i can see the new icons.
but in the page tree itself, beside the paget title, there is no icon (not a 'broken icon' too)
after that i tried it without my own icons. Instead i used typo3 known icons - that worked perfect.
after that i took the svg content from the registered icon and pasted it in a new file and use this file for my new icon.
This resulst in the same behaviour as described above.
Files
Updated by Christian Weiske about 2 months ago
- File 2024-03-06 typo3 missing page type icon tree.png 2024-03-06 typo3 missing page type icon tree.png added
Same here with TYPO3 v12.4.9 - see screenshot.
Updated by Christian Weiske about 2 months ago ยท Edited
- File 2024-03-13 tree defs.png 2024-03-13 tree defs.png added
The problem is that my svg icon file defined the size to be 1792x1792. When removing the width and height attributes in svg (and then clearing local storage in the browser) the icon appeared.
So the icon itself was loaded, but not scaled correctly by the tree.