Application icons in Gnome

Up to F39 it used to work as expected: non-Fedora applications that have their own application icons showed up in the dock with their correct icons. Examples:

  • blender (build from git sources)
  • my own Java applications that I build for work
    (set icons via the usual method java.awt.Window.setIconImages() )

Now these apps show with a generic blue “binary” icon with cogs. Is there something I should do, e.g. rebuild an icon cache? I did try gtk-update-icon-cache but to no avail.

Vladislav’s answer doesn’t really apply as it’s applications launched from the command line, not by the gnome shell through an .applicaition file. The latter works OK. The former used to work ok before F39