← Back to team overview

sikuli-driver team mailing list archive

[Bug 1202368] Re: [1.0.1] IDE: Renaming an image in Pattern Settings should change all occurrences in the file

 

Does this mean it will be available in 1.1.0?

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

Title:
  [1.0.1] IDE: Renaming an image in Pattern Settings should change all
  occurrences in the file

Status in Sikuli:
  Fix Committed

Bug description:
  Sikuli 1.0.0 Win7-64

  Use 'Take screenshot' to add an image in the IDE
  Copy and paste the image so that it appears twice in the script
  Save the script
  Click one of the images to open Pattern Settings
  Rename the image by changing the Filename field and click OK
  Save and close the script and reopen it

  When the script is reopened, the copy still refers to the original
  image filename which no longer exists.

  Best proposed fix would be to change the default behavior to making a
  copy of the image when renaming and only deleting the original when
  there are no references to it (which happens when the IDE is closed
  anway I think?) and adding an option to automatically change all
  references in a script when an image is renamed.

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


References