FROG icon indicating copy to clipboard operation
FROG copied to clipboard

[Bug] When undoing an activity move operation, the rename box position is not updated

Open qgolsteyn opened this issue 6 years ago • 0 comments

Issue description

When moving an activity and undoing said move operation, the rename box will remain stuck at the last activity position before the undo.

The rename box behaves correctly (appears at the correct position) if the undo button is not pressed. Once the undo button is pressed, any future attempt at moving activities will no longer update the rename box position. It appears to be stuck at the state prior to the first undo operation. Refreshing the page fixes the issue.

Steps to reproduce the bug

  1. Access FROG in teacher view
  2. Create an activity in the graph editor
  3. Move the activity node (drag it to a new position)
  4. Press undo
  5. Double click on the activity node that was moved in order to rename it.

Expected behaviour

The rename box should appear on top of the activity node.

Actual behaviour

The rename box appears at the location the activity node was at prior to the first time the undo button was pressed.

Screenshot

image

qgolsteyn avatar Jan 03 '19 21:01 qgolsteyn