thomaswp / snap-replay

"Video"-like replayer for Snap logs
1 stars 1 forks source link

Same guid on 'duplicate block definition' #14

Open cvetelinandreev opened 1 year ago

cvetelinandreev commented 1 year ago

Steps to reproduce:

  1. Create custom block
  2. Duplicate its block definition to create another one
  3. Export project
  4. Import the project in the recorder
  5. Start recording
  6. Drag the second block from the palette and drop it to the script area
  7. Stop recording and replay

Expected results:

  1. both block definitions to have different guids in the exported xml
  2. dropping the second block should be replayed

Actual result:

  1. Same guids.
  2. Dropping the first block is replayed
cvetelinandreev commented 1 year ago

@thomaswp Thomas, This is something that I can easily workaround by manually changing the guids. I'm posting it here so we have it as a reference in case someone is wondering why they record actions with one block and replay the same actions with another one. Probably this is for the iSnap project ...