← Back to team overview

sikuli-driver team mailing list archive

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

 

Public bug reported:

**************** 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

** Affects: sikuli
     Importance: Medium
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Description changed:

- 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.
+ **************** 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

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.2

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1728090

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

Status in Sikuli:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1728090/+subscriptions


Follow ups