← Back to team overview

sikuli-driver team mailing list archive

[Bug 802690] Re: Linux: VNC: IDE: Part of a dialog gets black when trying to take a screenshot

 

save the following script to somewhere.sikuli

import os
import shutil
dir = getBundlePath()
img = capture()
shutil.mv(img, os.path.join(dir, "captured.png")

and run it from commandline using 
java -jar path-to-sikuli-script.jar path-to-your-somewhere.sikuli

after you have arranged the critical screen situation.

You should be asked to capture. Capture the dialog no matter what it
looks like. After the script has terminated, you should find the
captured image as captured.png in the folder somewhere.sikuli.

Talk about your experiences ;-)

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

Title:
  Linux: VNC: IDE: Part of a dialog gets black when trying to take a
  screenshot

Status in Sikuli:
  New

Bug description:
  When I try  to take a screenshot, run sikuli script or use Matching
  Preview in a specific dialog, part of this dialog gets black.

  If I move the dialog this won't happen anymore, so I can still run my
  script just dragging and dropping my dialog before performing my
  actions on this dialog.

  It is the first time I see it and it only happens with this dialog.

  I'm running Sikuli X-1.0rc2 x86_64, on a Red Hat Enterprise Linux
  Server release 6.1 (Santiago) through a VNC session. (Sikuli
  installation and my VNC server are on this machine)

  I'm not sure how to reproduce this bug since it is the only situation
  that I can see this happening.

  I've already tried in a new VNC session but the same problem happened.

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


References