Guide extention : Text position with dual screen

Bug #1169081 reported by Emmanuel SPERI
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
In Progress
Medium
RaiMan

Bug Description

Hello,
I'm using SIKULI with dual screen (on to develop, the other to look the result).
Text, Flag, ... all visible labels are wrong positioned. It's look like if horizontal position is forgetting to add the width of the left screen.
Sikuli click on image detection works well in dual screen mode.
Thanks for your help

Tags: extensions
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: none → x1.1
RaiMan (raimund-hocke)
tags: added: extensions
Revision history for this message
J. Xavier Atero (jatero) wrote :

I am having the same problem. While waiting for the fix, I have redefined the guide functions inside my code the following way:

# redefine guide functions until bugs are fixed
resolution_x = 1920
resolution_y = 1080
def text2(target, txt, fontsize = 16, side = 'bottom'):
    text(target.offset(Location(resolution_x, 0)), java.lang.String(txt,"utf-8"), fontsize, side)
...

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

Remote bug watches

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