I had this problem to.
Go to KDE controll center click "desktop" > "window behavior" On the first page there is a dropdown menu "policy" choose "click to focus"
and make sure "click raise active window" is checked. This was already the default settings but uncheck them and apply them again.
Hope this works and sorry for my bad english