← 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

 

Here's the debug info I get when I do the Reset, it may help:
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries (valid 1)
[debug] Image: ImageFiles entries: 3
[debug] Image: file:C:\Users\autotest\Desktop\Sikuli_IDE_Tests\libs\Test.sikuli\Test.png
[debug] Image: file:C:/Users/autotest/Desktop/Sikuli_IDE_Tests/libs/Test.sikuli/1412184263742.png
[debug] Image: file:C:/Users/autotest/Desktop/Sikuli_IDE_Tests/libs/Test.sikuli/Test.png
[debug] Image: ImageNames entries: 2
[debug] Image: Test.png 14 KB (file:C:/Users/autotest/Desktop/Sikuli_IDE_Tests/libs/Test.sikuli/Test.png)
[debug] Image: 1412184263742.png 14 KB (file:C:/Users/autotest/Desktop/Sikuli_IDE_Tests/libs/Test.sikuli/1412184263742.png)
[debug] Image: Cache state: Max 64 MB (entries: 3 used: 0 % 84 KB)
[debug] Image: --- end of Image dump ---
[debug] Image: --- start of Image dump ---
[debug] ImagePath: ImagePath has 1 entries (valid 1)
[debug] Image: ImageFiles entries: 1
[debug] Image: file:C:\Users\autotest\Desktop\Sikuli_IDE_Tests\libs\Test.sikuli\Test.png
[d

ebug] Image: ImageNames entries: 0
[debug] Image: Cache state: Max 64 MB (entries: 1 used: 0 % 56 KB)
[debug] Image: --- end of Image dump ---

I'm using a Windows 7 (64bit) VM for this.

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