Public bug reported:

Replicate

1. In a terminal window, somewhere, pre-type (but DO NOT press Enter):

cnee --record --mouse --all-events --keyboard  --store-mouse-position
--recall-window-position --stop-key L -o /tmp/record.xnl

2. Open a browser window (e.g., Firefox).
3. Browse to http://google.com
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.

** Affects: xnee (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576905

Title:
  xnee moves to top left on replay

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xnee/+bug/1576905/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to