mouse_hide not working when called between X restarts
|Target version:||Milestone 9|
mouse_hide sets the cursor to a fixed position, but qemu ignores that if the position is the same position it thinks the cursor is already in (a glitch in their translation between absolute corrdinates used by VNC and relatived moves used by hardware). So mouse_hide will not do what we expect if the cursor moved to the middle of the screen by means of software.
Either we explicitly tell the test that we expect the mouse to have moved e.g. by a hardcoded mouse_set 300, 300 - or we generally tweak mouse_hide to do 2 moves. But that has the downside of possibly triggering UI actions in corners. So I suggest to do something special in special cases
#4 Updated by okurz almost 3 years ago
- Target version changed from Milestone 7 to Milestone 9
We had some issues within M7 which were of higher prio (and I guess all of them have been introduced by ourselves) that no one followed on with this. I am not even sure if it would happen during M8 so I will move to M9
#6 Updated by mkittler over 2 years ago
- Status changed from New to Feedback
So I assume https://github.com/os-autoinst/os-autoinst/commit/330fa1625c1e3193975c08c8425e5f3ac2bbe7a1 is not sufficient?
Is there any example test case available which restarts X? I just don't want to reinvent the wheel to reproduce the issue.