IDE Deleting Used Pattern Image Files

Bug #1534424 reported by Chathura on 2016-01-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I have noticed my IDE ended up deleting used pattern image files, ie. it is deleting image files that are used by the script. If I do not backup existing project those image files are permanently gone which is very frustrating because I have to re create those images.

RaiMan (raimund-hocke) wrote :

When using final version 1.1.0, then this should not be.
So please give more details about the situation, when that happens.

In doubt set the respective Preferences -> more options option respectively.

There is one case left, where it may happen though:
bug 1532730

Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
Chathura (chathuragune) wrote :

Which option in Preference are you referring to? Is it "Messages to show: Debug" checked? I am running SikuliIDE 1.1.0 (2015-10-05_17:07) where I got this IDE file error.

description: updated
Juanma (norrin77) wrote :

This bug is still present in version 1.1.1. I don't see the point of deleting any image, anyway, in any case.

RaiMan (raimund-hocke) wrote :

With version 1.1.1 images referenced in code and even in comments as "foobar.png" are always safe against deletion on script save.

To get the best in every situation switch on the option
Preferences -> more options -> Options on Run "autosave all"

The option
.... Options on Save "delete not used images" should be turned on, to avoid mass of unused images in the script folder.
(you might of course switch off this option, but not recommended, as long as you follow the advices)

Another good practice is to not work with an "Untitled" tab, especially if the script has images, but save it and thus give it a name before the first run.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers