I have got some applications such as KColorChooser, KBreakOut, MadView3D which are not showing any application icon on the dock when they are active. Only a square with no icon is shown. Also, When I hover over them, instead of the application name, unknown is shown.
I am using Gnome as my desktop environment on Ubuntu 20.04. Why does this happen and how to fix this?