In ubuntu 20.04 (and 18.04) applications will occasionally lose it's link with the application dock.
When this happens the application still exists, but it's no longer accessible via the application dock (and no dot is displayed next to the application icon), forcing me to use the "action/windows" key to show applications and select the application from there in order to move it to the foreground.
If I reboot and restart everything the applications will be properly linked to the dock, displaying a "dot" next to the application.
I've noticed this mainly with the 2 applications I use most, PyCharm (community) and chromimum, but may happen to all.
Does anyone know a way to prevent the application from losing it's link to the dock?
Running ubuntu 20.04.1 on a thinkpad x1 extereme.