[check] switchApp("Replace") always succeeds in Win7

Bug #1266613 reported by Parn Yin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

[Steps to Reproduce]

(1) Start a machine with Win7.
(2) Because it's just started, from the Desktop we can see there is no window opened.
(3) Open Sikuli IDE, run this script:

switchApp("Replace")

[Actual Result]

It succeeds.
But I can't see there is a window with caption "Replace".

[Extra Notes]

I tried with this script below and the result is the same:

switchApp("Find")

Is it because of the searching text field of Sikuli IDE?
But if I close Sikuli IDE, use Eclipse to call SIkuli's "switchApp", the result is the same.

I didn't do more tests on other platforms so I can only say "in Win7".

RaiMan (raimund-hocke)
summary: - switchApp("Replace") always succeeds in Win7
+ [1.0.1] switchApp("Replace") always succeeds in Win7
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.0.1] switchApp("Replace") always succeeds in Win7

Should not be, if there is no window, with the word "Replace" in the window title (no matter, wether visible or invisible).
Sikuli itself does not have a window open, that matches.

So in your case, there might be some hidden/invisible windows, that match.
This "problem" is only on Windows, since the implementation behind the App features are system specific.

Example: Firefox or Chrome have "tons" of windows hidden/invisible depending on the history and state, even if you closed the last visible window.

RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
summary: - [1.0.1] switchApp("Replace") always succeeds in Win7
+ [check] switchApp("Replace") always succeeds in Win7
Changed in sikuli:
milestone: 2.0.0 → 2.0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.