← Back to team overview

sikuli-driver team mailing list archive

[Bug 1813493] Re: [1.1.4] Linux: unable to find window with App created with process path

 

*** This bug is a duplicate of bug 1813491 ***
    https://bugs.launchpad.net/bugs/1813491

--- How would I as a developer know I am not supposed to use it?
I admit, that as a developer working against the SikuliX Java API, you see more, than you should ;-)

The problems currently you might get are caused by
- lack of inline documentation
- those "internal" API methods might not be stable due to continuous revision of this App class

Only the high level features like open, close, focus, isRunning, ...
mentioned in the scripting docs are somehow guaranteed.

As a short-term solution I will add a this-is-official-API marker to the
respective classes/methods, so every item, not having this marker is not
official and unsupported, but can be used at own risk.

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

Title:
  [1.1.4] Linux: unable to find window with App created with process
  path

Status in Sikuli:
  New

Bug description:
  When doing

  App app = new App("/path/to/process");
  app.setPid(15081);
  app.focus();

  Produces the following:

  [AppLog] App.focus: no window for [15081:process ()] /path/to/process

  And the window cannot be acted on.

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


References