[Sikuli-driver] [Bug 1817046] Re: [1.1.4] VNC: synchronization of screen content for wait and capture not working properly

2019-06-26 Thread Tannalein
Hi,

I'm having the same problem on Ubuntu guest machine running TigerVNc
server. It would seem that Sikuli only sees the state of the screen as
it is at the moment of connection. If I set Sikuli to connect to the
guest machine, take a screenshot, set wait to 30 seconds, manually move
things around the screen, and after those thirty seconds Sikuli takes
another screenshot, I get the exact same image. The clock doesn't move.
If you check the screenshots Christoph posted, you can see that the file
was created at 11:11, but the Windows clock on the screenshot says
11:09. The screenshot was two minutes old at the time it was saved.

The issue seems to be connected to TigerVNC, because if I connect with
Vino VNC, which is the default VNC server on Ubuntu, I don't get this
issue. I do, however, get a garbled screenshot, which was the reason I
switched to TigerVNC.

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

Title:
  [1.1.4] VNC: synchronization of screen content for wait and capture
  not working properly

Status in Sikuli:
  In Progress

Bug description:
  Hi!

  I am currently developing some software tests using virtual Windows 7
  and 10 guests in VirtualBox. My VNC-Server on the guests is TigerVNC.

  What I am trying:

  client = vncStart(ip="192.168.56.100", port=5900, password="vnc"  ) 
  wait( 1 )

  client.keyDown( Key.WIN )
  client.type( "r" )
  client.keyUp()

  client.wait("Run.png",60)

  Run.png is a screenshot of the "run"-panel in Windows 7 or 10.
  This wait fails  on both Windows 7 and 10.
  The reason seems to be a failing synchronisation of the screen contents to 
the client-object.
  As a proof I made a capture of the client after 120s and attached the files 
for Windows 7 and 10.
  The code:
  client.keyDown( Key.WIN )
  client.type( "r" )
  client.keyUp()

  wait( 120 )
  client.capture().saveInBundle("Win10.png")
  Remark: on the virtual box window itself, I see the open run-panel, only the 
capture is empty.

  When I'm doing the wait and search-commands in my tests undotted on
  the virtual desktop window , everything works fine. I only avoid this
  with the goal starting the tests from a jenkins server testing virtual
  machines later.

  Best regards,
  Christoph

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Bug 1784563] Re: [1.1.x] Pixel errors in screenshots of Windows CE devices attached via VNC

2019-06-17 Thread Tannalein
How did you change the encoding? I have the same problem on Ubuntu VM...

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

Title:
  [1.1.x] Pixel errors in screenshots of Windows CE devices attached via
  VNC

Status in Sikuli:
  Won't Fix

Bug description:
  OS: Windows CE 6.0 and 8.0
  SikuliX Version: 1.1.1
  (but tested also 1.1.2 and 1.1.3)

  Hi Sikuli-Team,

  I'd like to take screenshots with SikuliX from Comfort Panels via vnc 
connection.
  The devices using a Windows CE OS.
  But the screenshots have some pixel errors above the icons.
  Please see the attached screenshots.

  If I use TigerVNC itself there are no problems.
  Also using this SikuliX with usual Windows devices working fine.

  Can you help me please?
  Changing your TigerVNC version leads to too many interface issues for me to 
solve alone.

  
  My workaround: added the external tool vncsnapshot.exe which makes the 
screenshots,
  and using SikuliX for automation.
  -> two vnc connections, too much CPU load on the devices...

  Repro: connect to a WinCE device via vnc and take a screenshot.

  
  Best regards,
  Tantrom

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp