Scada-LTS
Scada-LTS copied to clipboard
System exception when adding view with background
Expected Behavior
Possible solutions:
- informing the user that an object cannot be added to the view while dragging it to the view;
- message after clicking save informing that one of the objects does not fit in the view, removing this object;
Actual Behavior
When adding a view with a component that does not fit in the view, clicking save causes a system exception. The problem concerns the situation in which we try to add a component that does not fit into the view with a small size, limited background.
Steps to Reproduce the Problem
- Open Graphical Views;
- Click New View;
- Choose Background image 450x450;
- Click Upload image;
- Set name for view;
- Choose Components -> Alarms List -> Add component to view;
- Drag and drop components in view; (If we do not drag the component into the view area and leave it in the default position, this problem does not occur)
- Click save;
Specifications
- Version: SCADA-LTS v2.0.0
- Platform: Windows 7 - 64-bit
- Subsystem: Old UI ScadaBR