← Back to team overview

sikuli-driver team mailing list archive

[Bug 1374641] Re: [1.1.0] Updating old images in IDE, images revert back to old version

 

Reset doesn't seem to fix the issue, but I can actually cause the problem by using Reset. One way that I've reproduced it is:
1. New Sikuli bundle, save it as something
2. Take screenshot, name it something
3. Take another screenshot, name it the same as 2 (replacing the original)
4. The image preview updates to latter image
5. Save the file
6. Use the Reset command, the image preview resets back to the original

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

Title:
  [1.1.0] Updating old images in IDE, images revert back to old version

Status in Sikuli:
  Fix Committed

Bug description:
  Using Sikuli 1.1 Beta, the 9-26-14 build.

  There seems to be a weird thing going on in the IDE when I replace replace old images by overwriting them. The image preview in the IDE sometimes seems to revert back to the old image during certain actions - copying and pasting that image, and I believe also scrolling to a different page and back to that image.
  Here's a screenshot of it happening: http://postimg.org/image/41bbfwbyh/
  Notice that image preview shows the older image (the cmd prompt screenshot) but the pattern settings Matching Preview view shows the actual image on file (the explorer window screenshot).
  Also I notice one you get it into this state, it will show the wrong preview image until you restart the IDE; even if you reopen the the project, it still shows the wrong images, as if they were cached.

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


References