Blender hot key freezes

Hi, it seems 8.1 and 8.2 hotkeys act weird sometimes when i am in edit mode like middle mouse button starts panning the view. then i switch to object mode and save the file and go to edit mode it works fine. during this hotkey freeze all shortcuts acts weird like shift+s for 3d cursor pie menu but when it freezes this hotkey during freeze it opens up the median point menu or merge vertices menu.

When stuff like this happens to me I reboot the computer or shut down blender and restart and see if it happens again. A computer’s memory gets all messy and a reboot helps it out.