Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000222ILNumerics[All Projects] Bugspublic2015-11-05 12:202018-05-26 22:11
Assigned Toho 
PlatformOSOS Version
Summary0000222: Auto-Reset-when-mouse-up in ILPlotCube
DescriptionThe plot cube exposes some unexpected behavior when performing multiple subsequent mouse actions on it. It relates to the Selected property of all shapes and causes the plot cube to reset itself in every 2nd mouse-up event.
Steps To ReproduceExmple snippet:

        private void ilPanel1_Load(object sender, EventArgs e) {
            ilPanel1.Scene.Add(new ILPlotCube(twoDMode: true) {
                Children = {
                    new ILPoints() {
                        Positions = ILMath.tosingle(ILMath.rand(3,200))
                // this prevents from the 'auto reset on mouse up'- bug in 4.8
                //AutoScaleOnAdd = false

1) Pan the scene outside of the initial state.
2) single click on any point.

-> Expected: the scene should not change.
-> Observed: the scene resets. (you may have to click twice, without double click)
Additional InformationInternally, shapes track a Selected state. Every click on a shape toogles its value. This leads to a SelectionRectangle being added or removed to the scene. In If AutoScaleOnAdd is true, this node addition (even if the shape is hidden) causes the plot cube to reset its limits.

Workaround: set the ILPlotCube.AutoScaleOnAdd property to false.

This is considered a bug and will be removed in a future version.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-11-05 12:20 ho New Issue
2018-05-26 22:11 ho Assigned To => ho
2018-05-26 22:11 ho Status new => acknowledged

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker