← Back to team overview

sikuli-driver team mailing list archive

[Bug 1867074] Re: [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

 

Just checked/tested and had a look at other related requests/bugs:

As said in the docs for the timed pop... variants: if the feature times
out (user does nothing), then None/null is returned. If the buttons
Yes/No are pressed, True/False respectively is returned.

Closing the dialog using the upper-right-x-button meaning "I do not
care" is comparable to letting it time out, in this case also None/null
is returned.

popup is an exception, which always returns True (hence no side-
effects).

I will revise the docs.

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

Title:
  [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

Status in Sikuli:
  Fix Released

Bug description:
  With sikuli 2.0.3 / java1.8.0_242-b08 on Windows 10 , 64 bit Build 18362 (10.0.18362.329)
  using Jython

  Do.popAsk returns 0(False) upon timeout.

  sikuli 1.1.4 returned None, which is the documented behavior.

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


References