I guess it's dependent on some personal configuration.I had added a darktable-git.desktop in ~/.local/share/applications/, so I thought that it might be related. But even if I move it in the home folder the problem persists.
Quite annoying. Any hint for debugging this? Thanks Federico