← Back to team overview

sikuli-driver team mailing list archive

[Bug 1054900] Re: X-1.0rc3: IDE: Removing not referenced images is too rigorous

 

** Summary changed:

- Removing referenced images is too rigorous
+ X-1.0rc3: IDE: Removing not referenced images is too rigorous

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

Title:
  X-1.0rc3: IDE: Removing not referenced images is too rigorous

Status in Sikuli:
  New

Bug description:
  This bug report is a follow up on
  https://bugs.launchpad.net/sikuli/+bug/1053438 as the main problem
  there has already been fixed.

  I think the deletion of the PNG images is way too rigorous. I would
  really like to see an option to turn off the automatic destruction of
  the referenced images.

  When I do the following action in the Sikuli editor:
  - Cut a piece of script with an image in it (which is not located anywhere else in the script)
  - Save the script
  - Paste the script

  I get the error:
  [error] Can't transfer: sun.awt.datatransfer.TransferableProxy@1a256c7

  And as RaiMan already said:
  "I just looked into the source - only 10 statements in try-catch block (unfortunately the error itself is not displayed :-(

  It is the part, where the images are copied from one .sikuli to the
  other."

  When there are any 'rogue'  PNG images in the directory (e.g. for
  future use) then these are also removed on save, as they are not
  referenced (yet)!

  I understand that cleaning up the Sikuli project directories can be a
  nice addition (although scripts shouldn't ever become too long). I'd
  rather invoke the clean-up manually or to have the option to save
  without doing a cleanup.

  On Sikuli r930, W7 SP1 64 bit

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


References