Double tap shortcuts
I strongly recommend you create a support ticket:
https://help.guildwars2.com/hc/en-us/requests/new
The problem isn’t widespread or there would be far more reports, which means it will be difficult for ANet to troubleshoot without data from folks such as yourself.
It’s also possible that the problem is local to your PC, even though you only notice it in GW2. Some other piece of software might be interfering with gw2 (e.g. some anti-malware programs have done so from time to time) or with your razr software. The support team can also help you troubleshoot that.
John Smith: “you should kill monsters, because killing monsters is awesome.”