Enabling the minimise to tray causes the application to go to tray when I switch from the workspace the application window is on