I bought new macbook and it runs macOS 10.13.6
My text selection isn't working normally. When I select some text and push the physical key named delete, it often only deletes one character from the end of selection or from the beginning of selection as opposed to removing all selected text (which is what I expect)
Also when I type, it some times write some letters before cursor, not after cursor.
And thirdly when I select text and it does delete the text when I press delete. The blue selection sometimes isn't gone, but the blue strip is over the text that's still left. But only with the length the selection was made.
So when I have an url
www.test.com and I select
com and press delete the result is
www.test. and selection covers
st., even thou I expected that the selection is gone.
As a programmer, this is super annoying. I took this problem to maintenance but they were no help. I'm not sure under what conditions it happens, it seems to be quite random. Most often it happens in Chrome browser, and not only inside the pages but also in address bar.
How can I pinpoint what’s changing the key board interpretation?