action #13816

mouse_hide not working when called between X restarts

Added by coolo over 3 years ago. Updated over 2 years ago.

Status:ResolvedStart date:19/09/2016
Priority:NormalDue date:
Assignee:mkittler% Done:

0%

Category:Concrete Bugs
Target version:Milestone 9
Difficulty:
Duration:

Description

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


Related issues

Related to openQA Project - action #13756: mouse_hide seems to not work anymore Rejected 16/09/2016

History

#1 Updated by okurz over 3 years ago

  • Related to action #13756: mouse_hide seems to not work anymore added

#2 Updated by okurz about 3 years ago

  • Target version set to Milestone 6

#3 Updated by okurz about 3 years ago

  • Target version changed from Milestone 6 to Milestone 7

#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

#5 Updated by mkittler over 2 years ago

  • Assignee set to mkittler

#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.

#7 Updated by coolo over 2 years ago

  • Status changed from Feedback to Resolved

No news is good news here

Also available in: Atom PDF