← Back to team overview

sikuli-driver team mailing list archive

[Bug 886632] Re: Sikuli - could not performed a drag and drop action with the right button

 

The GUI seems to have the focus since it finds the starting location and seems to do the "move" action to the destination location but without holding the mouse down. it's used against a 3 D software and the right button drag and drop should give a particular behavior on the interface , that's why it is really needed.
For the wait between the mouseDown and the mouseMove,  I did use a Thread.sleep(3000) right before the mouseDown to be sure that the location is found. I will test it and tell you if adding a wait period between Mousedown and mouseMove would give the expected result.

Thank you

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

Title:
  Sikuli - could not performed a drag and drop action with the right
  button

Status in Sikuli:
  New

Bug description:
  I was using an earlier version of sikuli (sikuli-script.jar) and upgrated to the latest version as of today but I`m still facing the same issue. I'm running tests scripts with Robot Framework and sikuli using Java.
  I need to perform a drag and drop action with the mouse right button . The default drag and drop method provided by Screen class (or other classes) is a left button mouse drag and drop.
  So, what I did is : breaking down it into 3 actions : 
                    - mouseDown(Button.RIGHT)
                    - mouseMove(Destination_location) (or hover or drag)
                    - mouseUp()
  Even using these low level mouse events don't give the expected result of getting a right button drag and drop.
  Does someone have an idea how to  resolve this?

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/886632/+subscriptions


References