Lag after deselecting an element

Hi all i have a problem, when i select and then deselect an element like a line or a square the program freeze for 4/5 secons. I tried to reinstall the program , restart pc, copy the drawing on new file but nothing worked. How can i solve that problem?

thank you all