Project

General

Profile

Actions

action #13816

closed

mouse_hide not working when called between X restarts

Added by coolo over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2016-09-19
Due date:
% Done:

0%

Estimated time:

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 1 (0 open1 closed)

Related to openQA Project - action #13756: mouse_hide seems to not work anymoreRejected2016-09-16

Actions
Actions #1

Updated by okurz over 7 years ago

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

Updated by okurz over 7 years ago

  • Target version set to Milestone 6
Actions #3

Updated by okurz about 7 years ago

  • Target version changed from Milestone 6 to Milestone 7
Actions #4

Updated by okurz almost 7 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

Actions #5

Updated by mkittler over 6 years ago

  • Assignee set to mkittler
Actions #6

Updated by mkittler over 6 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.

Actions #7

Updated by coolo over 6 years ago

  • Status changed from Feedback to Resolved

No news is good news here

Actions

Also available in: Atom PDF