App opening in a separate space in taskbar

Sounds like the StartupWMClass= entry missing from the .desktop file see Package Manager Creating Two of itself when opened as a favorite