IDE Deleting Used Pattern Image Files

Bug #1534424 reported by Chathura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Opinion
Undecided
RaiMan

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.

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.