sikuli doesn't find images on the bottom of the screen

Asked by rblack

Hello,

i have encountered a problem, that exists on multiple machines with Xubuntu OS running on Virtualbox:

Sikuli doesn't find images located on the lower parts of the screen. The out-of range belt is about 20% of the screen resolution.

Because of that I can't click on links at the bottom of the page, and have to resize the windows and move the window up.

For example link I want to click:
http://postimg.org/image/repoec825/

But wait() or find() functions fail with finding this link.

When i resize the windows and move it to the top - they both work.

When i try to change the matching offset, i see sth like this:

http://postimg.org/image/3z7r8zob1/

I tested it, and it seems that the bottom 20% of the screen is out of screen-matching area. This is independent from the screen resolution.

How to solve this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
rblack
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Sorry, but I cannot help you with that.
Has something to do with the screen size reported internally by java toSikuliX.

just start the SikuliXIDE from command line with -d 3 and look what monitor size is reported in the startup messages.
Is this correct?

If this is not what you should expect, you have to fiddle around with your VM setup until it fits.

Revision history for this message
rblack (rblack) said :
#2

Thank you RaiMan! The resolution in Sikuli startup log was correct.

i tested the instalation on VMware, and there were no problems in this virtualization platform.

Then i removed one of the packages, that imporve the ubuntu UX - Docky (with sudo apt-get autoremove afterwards), and now everything in Sikuli works fine. It seems Docky and Virtualbox dont like each other ;)