sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30852
[Bug 1428056] Re: [1.1.0] paste() without a target should not click
Yes, often I select text:
# click in a text field
type("a", KeyModifier.CTRL)
paste("new text")
And yes, you are right, that this should be fixed in Region.paste and
not in Mouse.java
I don't know why it works when I run the script from the IDE. I couldn't
debug the IDE.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1428056
Title:
[1.1.0] paste() without a target should not click
Status in Sikuli:
Fix Committed
Bug description:
When I run my script with the version 1.0.1 and with the IDE 1.1.0
everything works fine. But I also run my scipt via JythonScriptRunner
from Java. If I want to paste some text on the current caret position
(and replace the selected text), sikuli does a click on the current
mouse position and after that it paste the text. So my caret is on
another position or my marked text isn't selected anymore before the
new test will be inserted.
I looked up in the source code and the commit eba537c in Mouse.java
Line 236 was the reason.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1428056/+subscriptions
References