NullReferenceException when pressing ESC while dragging (#398)
Hi,
we evaluate Software Ideas Modeler for our company.
I will submit bug reports for problems we encounter.
Some parts of the error messages are in German (I think because of .NET on a German Windows machine).
BUG: NullReferenceException when pressing ESC while dragging
Steps to reproduce:
1) Drag a shape (for example Start symbol of a flow chart)
2) Press ESC key on the keyboard while dragging (while holding the left mouse key down)
3) Release mouse key
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SoftwareIdeasModeler.DiagramTools.SelectionTool.ConnectWithElement(EnhancedMouseEventArgs e, SimDiagramControl control)
bei SoftwareIdeasModeler.DiagramTools.SelectionTool.ChangeBounds(EnhancedMouseEventArgs e, Boolean finalPosition)
bei SoftwareIdeasModeler.DiagramTools.SelectionTool.MouseUp(EnhancedMouseEventArgs e)
bei SoftwareIdeasModeler.SimDiagramControl.canvas_MouseUp(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Daniel 20 January 2015 8:27:39
Hi, I have a question concerning this bug:
I often use the ESC key in other programs to abort the current mouse operation (dragging, resizing etc.). Because of that I stumbled upon this bug. Is the ESC key used in SIM for abort?
Dusan Rodina - softwareideas.net 20 January 2015 13:24:09
Hi, currently ESC for cancelling an action is not implemented, but it will change in the next release.
Daniel 20 January 2015 15:48:09
Adding this functionality will be a great addition.
Thank you for the fast response.
I really am impressed with SIM so far, keep up the good work!
Dusan Rodina - softwareideas.net 21 January 2015 0:02:22
Thank you for your positive evaluation!
The bug fixed and ESC functionality added in version 8.10.
Dusan Rodina - softwareideas.net 14 January 2015 11:02:10
Hi,
thank you for your feedback! Bugs will be fixed as soon as possible.