[1.1.4] Linux: unable to find window with App created with process path
Bug #1813493 reported by
spikedboy
This bug report is a duplicate of:
Bug #1813491: [1.1.4] Linux: PID is -1 after app.open() --- fixed 2.0.5.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
New
|
Undecided
|
Unassigned |
Bug Description
When doing
App app = new App("/path/
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 post a comment you must log in.
--- 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.