AlgoWizard - Dragging action block down and scrolling in a long rule causes duplication

In AlgoWizard, dragging an action block down to the bottom of a long rule when scrolled due to many blocks, the block is duplicated rather than moved; then deleting one of the blocks deletes both of them when there is another block in between them.
Deletions can be problematic, deleting two, or even collapsing the block to just the block header.

Attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

h
#1

HEJ

26.02.2021 07:29

Task created

h
#2

HEJ

26.02.2021 07:50

Subject changed from AlgoWizard - to AlgoWizard - Dragging action block down and scrolling in a long rule causes duplication

In AlgoWizard, dragging an action block down to the bottom of a long rule when scrolled due to many blocks, the block is duplicated rather than moved; then deleting one of the blocks deletes both of them when there is another block in between them.
Deletions can be problematic, deleting two, or even collapsing the block to just the block header.
h
#3

HEJ

26.02.2021 19:43
I am unable to replicate the issue at this time.

It has only happened 3-4 times, and each time was after a lengthy editing session. Restarting AlgoWizard cleared up the issue in each case.

As a former developer, it felt like some object pointers were getting confused when moving action blocks after a lot (hours) of editing/additions/deletions to a strategy.

I have noticed other strange behaviors after long editing sessions, and have learned to restart AlgoWizard at the first sign of weirdness.

I know it's very hard to fix something that isn't easily reproduceable, but I at least wanted it logged as an observation.

h
#4

HEJ

02.03.2021 05:35

Attachment RandomGridTrader v1.sqx added

RandomGridTrader v1.sqx
(11.73 KiB)
I was able to reproduce the issue in the attached strategy after doing some editing; adding rules, moving blocks, etc.

I did not save the strategy when I observed the corruption, but instead reverted to a previously saved version each time the problem occurred.

Note that this strategy does have other issues with it, as noted in other bug reports, so its possible some corruption exists.


I am not able to reproduce the behavior now when performing a clean re-load of the strategy in AlgoWizard.

I know that it does occur with large strategies like this (20+ rules, 50+ parameters), but only after you have been working with it a little while.

Hopefully, you be able to recreate the issue for yourself without too much effort using this strategy.

If I manage to easily reproduce the behavior, I will update this post.


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please