You may need to set the Virtual Keyboard to None in System Settings - I couldn’t switch between annotation tools in Okular with number keys unless I right-click on the screen first every single time, and it was driving me mad!
Hopefully I saved you some time, although if someone needed to keep Virtual Keyboard on, it will need reporting to Okular/KDE. Good luck ![]()