This general bug is not fixable in plank. This is mostly always a problem caused by the "duplicated" application itself while not setting a proper wmclass or defining the custom startupwmclass in its desktop-file.
This general bug is not fixable in plank. This is mostly always a problem caused by the "duplicated" application itself while not setting a proper wmclass or defining the custom startupwmclass in its desktop-file.