I'm having a strange problem... something I can't understand.
I have a graphicsscene, graphicsView and a graphicsItem, when the key "O" is pressed it has to move few pixels to its left.
The first time I do it, it works. Releasing the button should stop it, right.
But the next time I want to move it, first, it moves few pixels to its right. Something weird; I write its position on the console and it's alright, all the scenePos() are the expected values but graphically I see a weird first movement to its right(before continuing moving to its left, as desired).
I attach you the small compilable example.
thanks
Bookmarks