Project

General

Profile

Actions

Bug #102272

open

custom doktype icons not visible in page tree

Added by Maik Hagenbruch 6 months ago. Updated about 2 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2023-10-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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

Actions #2

Updated by Christian Weiske about 2 months ago

  • Is Regression set to Yes
Actions #3

Updated by Christian Weiske about 2 months ago ยท Edited

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.

Actions

Also available in: Atom PDF