I'm on Kubuntu 20.04.
If I double click a .txt file in Dolphin, or right click, open with Kate, I can see Kate briefly appear in the task manager, and then disappear, without ever having got to show its main window, or any dialogue with an error message, nor anything else. It doesn't write anything to the logs either.
If instead I open Kate from the "start menu" (Application Launcher), it opens OK. If I then use the menus, I can open the file I double clicked just normally.
If I open it from a terminal, either Konsole, or the terminal embedded in Dolphin, I can even open it as:
kate file.txt &
and it works fine. It just gives the following message on the terminal:
Hspell: can't open /usr/share/hspell/hebrew.wgz.sizes. sonnet.plugins.hspell: HSpellDict::HSpellDict: Init failed
but then it works OK. (I don't use any hebrew... I have no idea where that came from).
How can I fix this? Where can I find more information about why it's crashing?