xnee moves to top left on replay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xnee (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Replicate
1. In a terminal window, somewhere, pre-type (but DO NOT press Enter):
cnee --record --mouse --all-events --keyboard --store-
2. Open a browser window (e.g., Firefox).
3. Browse to http://
4. Position the mouse cursor over the search field.
5. Press Alt+Tab (DO NOT! move the mouse cursor) to return to the terminal window.
6. Press Enter to start recording.
7. Press Alt+Tab back to the browser window (DO NOT! move the mouse cursor).
8. Click (again, without moving the mouse cursor!) to focus the search field.
9. Start typing in a search term (that doesn't contain the letter L).
10. Now use the mouse to move the mouse cursor to click the submit button.
11. Press Alt+Tab to return to the terminal window.
12. Press L to stop recording.
13. Kill cnee.
14. Replay as normal (be sure to set up the browser back to Google; don't change the window position).
Expected Results
The mouse cursor moves to the browser's search field, the search criteria is typed, the submit button is clicked, then replay stops.
Actual Results
Cursor moves to the upper-left corner (0,0) of the desktop.
Additional Details
The code likely includes an assumption that there will always be some mouse movement before a mouse click, which isn't necessarily the case.
Work Around
At step 5, wiggle the mouse a little bit before clicking.