← 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

--- app.setPid(15081);
... is not official API

The pid should be evaluated and set internally

the correct usage would be 
app.open();

... but this does not seem to work (see other bug 1813491)

Hence I will change this bug to be a duplicate.

** This bug has been marked a duplicate of bug 1813491
   [1.1.4] Linux: PID is -1 after app.open()

-- 
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