← Back to team overview

sikuli-driver team mailing list archive

[Bug 1243479] Re: [1.0.1] IDE: renaming an image should rename all occurrences in the script

 

** Summary changed:

- Modify one picture which is the same as others, only one be changed, the others all disable.
+ [1.0.1] IDE: renaming an image should rename all occurrences in the script

** Summary changed:

- [1.0.1] IDE: renaming an image should rename all occurrences in the script
+ [1.0.1] IDE: renaming an image should rename all occurrences in the script --- workaround

** Description changed:

+ ************ workaround
+ use 
+ img = "123.png"
+ find(img)
+ wait(img)
+ 
+ or rename the first occurrence and then switch to text view of script (View -> menushowthumbs (ctrl/cmd T)
+ and rename the others manually (use the text search option)
+ switch back using ctrl/cmd-T
+ 
+ -----------------------------------------------------------------------------
+ 
  [Precondition]
  sikuli version:1.0.0
  os: win7 64; xp 32;
  reproduce:100%;
  
  [Steps]
  1. New a script.
  2. Use a command find(123.png).
  3. Use a another command  wait(123.png)
  4. click the 123.png in the editpane.
  5. It will pop up a dialog.
  6. Modify the picture'name from 123.png to test.png, then save this change.
  7. Run the script.
  
  [Expect Result]
  The script will run normal.
  
  [Observer Result]
  The script will not run normal.
  Because of the first picture not be recognized by editor.
  
  [Comments]
  Like this: If one picture be used many place, you modify one of them name,  the result is: only one picture be changed, the others not be changed in editor UI.

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 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/1243479

Title:
  [1.0.1] IDE: renaming an image should rename all occurrences in the
  script --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  ************ workaround
  use 
  img = "123.png"
  find(img)
  wait(img)

  or rename the first occurrence and then switch to text view of script (View -> menushowthumbs (ctrl/cmd T)
  and rename the others manually (use the text search option)
  switch back using ctrl/cmd-T

  -----------------------------------------------------------------------------

  [Precondition]
  sikuli version:1.0.0
  os: win7 64; xp 32;
  reproduce:100%;

  [Steps]
  1. New a script.
  2. Use a command find(123.png).
  3. Use a another command  wait(123.png)
  4. click the 123.png in the editpane.
  5. It will pop up a dialog.
  6. Modify the picture'name from 123.png to test.png, then save this change.
  7. Run the script.

  [Expect Result]
  The script will run normal.

  [Observer Result]
  The script will not run normal.
  Because of the first picture not be recognized by editor.

  [Comments]
  Like this: If one picture be used many place, you modify one of them name,  the result is: only one picture be changed, the others not be changed in editor UI.

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


References