[1.1.1] IDE: Preview window does not show complete desktop, when first opened --- workaround

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

Bug Description

**************** workaround
Just make the preview window smaller by dragging from the left or right side of the window or its bottom right corner until the complete desktop is visible.

-----------------------------------------------------------------------
I am finding Sikuli to be a great solution to my testing project but have ran into something I can use a little guidance on.

I have 2 different docking stations I plug my laptop into. The screen resolution on the 2 monitors is different (1920x1080 vs 1920x1200). When I'm connected to the docking station with a lower resolution (1920x1080) the matching preview doesn't display the bottom area of the screen.

When I start Sikuli I see the following:

+++ running this Java
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) Client VM (build 25.144-b01, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar C:\sikulix\sikulix.jar
Oct 27, 2017 6:10:20 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] IDE: Remembered window not valid. Going to primary screen

If I check the screens and bounds I get the following:
print "Screens: ", getNumberScreens()
print "Bounds: ", getBounds()
Screens: 1
Bounds: java.awt.Rectangle[x=0,y=0,width=1920,height=1080]

Is there a configuration somewhere I can adjust for this situation or how can I manage this so I can select between the two?

Thanks in advance

RaiMan (raimund-hocke)
description: updated
Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.2
RaiMan (raimund-hocke)
Changed in sikuli:
milestone: 1.1.2 → 1.1.3
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.