[request] ignore invisible app windows (App.window())

Bug #1091993 reported by RaiMan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

I have found when trying to find and focus by pid that determining the window number is not always straight forward.. After opening Chrome the find / focus by pid methods match 11 windows of which the ids change through usage.. http://img341.imageshack.us/img341/6279/chromec.png

As a workaround I have added in some checks to ignore invisible windows @ https://github.com/johnou/sikuli/commit/e3caefd4e3eb0119610ea6d0b42984d5ed8f08f3

Are there any use cases for finding invisible windows, or would you consider pulling in a patch?

Tags: fkt-app
Revision history for this message
RaiMan (raimund-hocke) wrote :

Thanks for the idea and the patch.

I will have a look at it for the new version.

Changed in sikuli:
status: New → In Progress
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → x1.0
RaiMan (raimund-hocke)
tags: added: fkt-app
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → Wishlist
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: x1.0 → none
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Wishlist → Medium
milestone: none → x1.1
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.0 → 1.2.0
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 2.0.0 → 2.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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