# Is there a known problem with Ignition 8.0 Launcher icons?

**URL:** <https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072>\
**Category:** Ignition\
**Created:** [September 25, 2020, 4:29pm UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072 "2020-09-25T16:29:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 25, 2020, 4:29pm UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072/1 "2020-09-25T16:29:10Z")

</div>

I’m applying the launch icon to my Ignition 8.0 Vision client. It shows up in Client Launcher but it doesn’t show up on the client titlebar or on the Windows taskbar. I thought it did before.

A colleague in another company site reports that his icons work on Launcher too but after a time seem to switch back to the default Ignition icon.

Are we missing something?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 25, 2020, 5:14pm UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072/2 "2020-09-25T17:14:57Z")

</div>

Do you have something like this on the internalFrameActivated event of navigation pane? That should take care of the window and taskbar.

> [@How to change icon appearing on the taskbar?](http://forum.inductiveautomation.com/t/how-to-change-icon-appearing-on-the-taskbar/8707/8):
>
> After upgraded to 7.7, the above script didn’t work. Jae helped me get around by providing this script to me. Forgot to mention that, put this script under visionWindowOpened event from javax.imageio import ImageIO from [java.net](http://java.net) import URL from javax.swing import JFrame from org.python.core import Py url16 = URL(“[http://localhost:8088/main/system/images/Builtin/icons/16/add2.png](http://localhost:8088/main/system/images/Builtin/icons/16/add2.png)”) url32 = URL(“[http://localhost:8088/main/system/images/Builtin/icons/32/add2.png](http://localhost:8088/main/system/images/Builtin/icons/32/add2.png)”) url48 = URL(“[http://localh…](http://localhost:8088/main/system/images/Builtin/icons/48/add2.png)

I think it's been mentioned before that shortcut icon created by the launcher ignores the application icon, but uses the stock ignition icon.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 29, 2020, 9:34pm UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072/3 "2020-09-29T21:34:13Z")

</div>

Thanks, Jordan. That seems a lot of trouble for something that should be built in.  
Have you any idea what the Launch Icon is supposed to do?

I tried the code but how should the URL  
`URL(“http://localhost:8088/main/system/images/Builtin/icons/16/add2.png”)`  
be written for a client?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [September 30, 2020, 9:42am UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072/4 "2020-09-30T09:42:04Z")

</div>

Replace localhost with the gateway address.

Each URL is for a different size icon (16x16 to 48x48. Windows scaling determines which ones get used. [More info here](https://www.creativefreedom.co.uk/icon-designers-blog/windows-7-icon-sizes/).)

We generally put them in the builtins/icons/{size} folders in Image Management to keep them organized by size, but you aren’t limited to it. You can put them in the same folder if you prefer, and adjust the URLs accordingly.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/5/657d655fc11aef6050cfc15404ab749ab0913209.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 6, 2020, 10:40am UTC](https://forum.inductiveautomation.com/t/is-there-a-known-problem-with-ignition-8-0-launcher-icons/39072/5 "2020-10-06T10:40:05Z")

</div>

Thanks, Jordan.  
That works. Rather than hard-code the URL I’ve used system.util.getGatewayAddress() as shown below.

```auto
from javax.imageio import ImageIO
from java.net import URL
from javax.swing import JFrame
from org.python.core import Py

url16 = URL(system.util.getGatewayAddress() + "/system/images/thisJob/Icon_16x16.png")
url32 = URL(system.util.getGatewayAddress() + "/system/images/thisJob/Icon_32x32.png")
url48 = URL(system.util.getGatewayAddress() + "/system/images/thisJob/Icon_48x48.png")

icons = []
icons.append(ImageIO.read(url16))
icons.append(ImageIO.read(url32))
icons.append(ImageIO.read(url48))

win = system.gui.getParentWindow(event)
while not isinstance(win,JFrame):
	win = win.getParent()
javaWin = Py.tojava(win,JFrame)
javaWin.setIconImages(icons)

```

Note that if you have spaces in the URL you need to replace them with HTML ‘%20’ or use some Python urlencode function. The following might work.

```auto
import urllib
urllib.quote('Hello World@Python2')
# gives 'Hello%20World%40Python2'

```
