Gnome applications frequently gets some kind of shift lock

After an upgrade of kubuntu I am now on

I have a problem that is driving me nuts. It is like gnome applications is getting some kind of shift lock. Numbers keys get its shift value. Normal letters keeps on being lower case. I have a work around for it. I just type numbers in a kde application and the shift lock in gnome applications is gone until it comes back again.

What can I do figure this problem out?