What are the triggers for the Virtual Keyboard to appear

I try to figure out when plasma displays the virtual keyboard. Currently it seems rather random. Sometimes it appears when not really needed (and obscuring a good part of the screen) It appears in the less likely screen or — most annoying — it doesn´t appear when I actually could need it.

For now I just disable it (living with the fact that every Fedora update it is enabled again, without asking)