Activity log for bug #1182992

Date Who What changed Old value New value Message
2013-05-22 17:14:31 RaiMan bug added bug
2013-05-22 17:14:40 RaiMan sikuli: status New In Progress
2013-05-22 17:14:43 RaiMan sikuli: importance Undecided High
2013-05-22 17:14:46 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2013-05-22 17:14:49 RaiMan sikuli: milestone 1.1.0
2013-05-22 17:17:53 RaiMan bug added subscriber Ricardo Cardona Ramirez
2013-06-09 16:53:01 RaiMan tags fkt-region
2013-07-17 11:16:49 RaiMan description *** problem At least on Windows 7 we have the situation, that maximized application windows (e.g by double clicking on the title bar) are macimized in a way, that the window frame is put outside the physical screen. This leads to a "negative" (x,y) point for the top left corner of the region returned by App().window() and hence to the reported error: Region outside any screen. *** workaround reg = intersection(App('Microsoft Word').window(0)) which reduces the window region to the visible part on Screen(0) (what is the area, that is accessible for Sikuli) But you still get the error messages (can be ignored now ;-) ------------------------------------------------------------------------------------------- reg = App('Microsoft Word').window(0) #Look for text reg.wait('Home') Making more tests in the IDE, I have this error when the window is maximized: [debug] getWindow: java.awt.Rectangle[x=-4,y=-4,width=1448,height=908] [error] Region (1448, 908) outside any screen - subsequent actions might not work as expected [error] script [ TestText ] stopped with error in line 6 [error] FindFailed ( null ) --- fixed with 1.0.1: region is cropped to given screen or to the screen containing the largest portion of the region *** problem At least on Windows 7 we have the situation, that maximized application windows (e.g by double clicking on the title bar) are macimized in a way, that the window frame is put outside the physical screen. This leads to a "negative" (x,y) point for the top left corner of the region returned by App().window() and hence to the reported error: Region outside any screen. *** workaround reg = intersection(App('Microsoft Word').window(0)) which reduces the window region to the visible part on Screen(0)  (what is the area, that is accessible for Sikuli) But you still get the error messages (can be ignored now ;-) -------------------------------------------------------------------------------------------   reg = App('Microsoft Word').window(0)   #Look for text   reg.wait('Home') Making more tests in the IDE, I have this error when the window is maximized:   [debug] getWindow: java.awt.Rectangle[x=-4,y=-4,width=1448,height=908]   [error] Region (1448, 908) outside any screen - subsequent actions might not work as expected   [error] script [ TestText ] stopped with error in line 6   [error] FindFailed ( null )
2013-07-17 11:16:56 RaiMan sikuli: status In Progress Fix Committed
2013-07-17 11:17:44 RaiMan sikuli: importance High Critical
2013-08-14 13:50:08 RaiMan summary [1.0] Error: Region outside any screen ... How to handle? [1.0.1 ok] Error: Region outside any screen ... How to handle?