Missing UXP plugin panel icons

I am looking to get the icons in my plugin working in the plugin panels.
Created the manifest according to the documentation and examples, but the default icons are applied for the plugin panels. This issue only happens with InDesignm with PS everything is great.
I assume this is the ID issue.

Here is my manifest.json

{
  "id": "myId",
  "name": "Name",
  "version": "0.1.0",
  "main": "index.html",
  "host": [
    {
      "app": "ID",
      "minVersion": "18.5.0"
    }
  ],
  "manifestVersion": 5,
  "requiredPermissions": {
    "localFileSystem": "fullAccess",
    "webview": {
      "allow": "yes",
      "domains": "all",
      "enableMessageBridge": "localAndRemote"
    },
    "network": {
      "domains": "all"
    }
  },
  "entrypoints": [
    {
      "type": "panel",
      "id": "main",
      "label": {
        "default": "Panel name"
      },
      "minimumSize": {
        "width": 230,
        "height": 200
      },
      "maximumSize": {
        "width": 2000,
        "height": 2000
      },
      "preferredDockedSize": {
        "width": 230,
        "height": 300
      },
      "preferredFloatingSize": {
        "width": 230,
        "height": 300
      },
      "icons": [
        {
          "width": 23,
          "height": 23,
          "path": "icons/dark-panel.png",
          "scale": [
            1,
            2
          ],
          "theme": [
            "darkest",
            "dark",
            "medium"
          ],
          "species": [
            "chrome"
          ]
        },
        {
          "width": 23,
          "height": 23,
          "path": "icons/light-panel.png",
          "scale": [
            1,
            2
          ],
          "theme": [
            "lightest",
            "light"
          ],
          "species": [
            "chrome"
          ]
        }
      ]
    }
  ],
  "icons": [
    {
      "width": 48,
      "height": 48,
      "path": "icons/iconDark.png",
      "scale": [
        1,
        2
      ],
      "theme": [
        "dark"
      ]
    },
    {
      "width": 48,
      "height": 48,
      "path": "icons/iconLight.png",
      "scale": [
        1,
        2
      ],
      "theme": [
        "light"
      ]
    }
  ]
}

Any ideas on how to fix this?

I have reported a similar issue to Adobe, but it may not be in the sense you intended.
Can you please explain with screenshots what the current state is and what would be correct?

Also listing icons file names and their actual size dimensions might help I believe


@Karmalakas, dark-panel.png and light-panel.png are 2323 and 4646, iconDark and iconLight are 2424 and 4848.

1)This is a working example in the PS.


2)This is the same plugin, but in the ID

It is exactly the same issue I reported. Currently there is probably no solution.

If you join the InDesign developer prerelease program and add your comments, it may accelerate the resolving process.

1 Like

Thank you for the advice. I will add my comments.

1 Like

Hello all,
for InDesign is it still the case, that the icons are not being supported? Thanks Stefan

Looks like still no solutions for this issue😢

2 Likes

Sadly I have the same problem…
Is there still no solution?
Does anyone know if there is a bug recognized by Adobe?
From my research, it doesn’t look like
Fun fact: the manifest documentation in the EntrypointDefinition shows icon instead of icons.


Obviously I’ve tried both icon and icons and it doesn’t work.

Hi andrea,
I am facing the same problem.
Is the issue resolved ? If resolved kindly share the changes.

Thank you

afaik still unresolved

I’m pushing this again, is this still unresolved? I couldnt get it to work

Yep, never worked, still doesn’t work :frowning:
I have a whole list of similar “minor” gripes, things that work fine in CEP and have always worked fine there but which are and remain broken in UXP - it is really frustrating.

Does anyone know here if this issue is resolved with InDesign 2026, or if there is a workaround?

I’ve filed an internal bug with the InDesign Team. I can’t promise when this is prioritized, though.

1 Like

Hi everyone. My icons are showing as expected when loading the plugin through UXP and using it in Indesign. However, the icons seem to break when packaging the plugin with UXP and sending it to publish review. My plugin is consistently being rejected, eventhough it works smoothly when loading from UXP. Has someone faced a similar issue?

Interesting, how did you manage to get this to work? Care to share the manifest and format/size of the icons you’re using?

Hi @dspice!

This is the manifest:

{
  "id": "xxxx",
  "name": "xxxx",
  "version": "1.0.41",
  "main": "index.html",
  "manifestVersion": 5,
  "host": [
    {
      "app": "ID",
      "minVersion": "20.0.1"
    }
  ],
  "entrypoints": [
    {
      "type": "panel",
      "id": "demos",
      "label": {
        "default": "Mediebank"
      },
      "minimumSize": {
        "width": 230,
        "height": 200
      },
      "maximumSize": {
        "width": 2000,
        "height": 2000
      },
      "preferredDockedSize": {
        "width": 230,
        "height": 300
      },
      "preferredFloatingSize": {
        "width": 230,
        "height": 300
      },
      "icons": [
        {
          "width": 23,
          "height": 23,
          "path": "icons/mediebank-logo_23.png",
          "scale": [1, 2],
          "theme": ["darkest", "dark", "medium"]
        },
        {
          "width": 23,
          "height": 23,
          "path": "icons/mediebank-logo_23.png",
          "scale": [1, 2],
          "theme": ["lightest", "light"]
        }
      ]
    }
  ],
  "icons": [
    {
      "width": 48,
      "height": 48,
      "path": "icons/mediebank-logo_48.png",
      "scale": [1, 2],
      "theme": ["darkest", "dark", "medium", "lightest", "light", "all"],
      "species": ["pluginList"]
    }
  ],
  "requiredPermissions": {
    "launchProcess": {
      "schemes": ["https"]
    }
  }
}

The icons are png: 23 × 23, 46 × 46, 48 × 48, 96 × 96.

These are the name of the files:

mediebank-logo_23.png
mediebank-logo_23@2x.png
mediebank-logo_48.png
mediebank-logo_48@2x.png

As mentioned before, the icons work when I load the plugin using UXP, but the don´t load when I package the plugin from UXP and then install the .ccx. The icons seem to pack properly, and there is no change in the manifest (I zipped and unzipped the .ccx to verify this):

1 Like