Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic WPF Diagram 2.2.1.21626 HitTest Exception (Read 5170 times)
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
WPF Diagram 2.2.1.21626 HitTest Exception
Dec 14th, 2009 at 6:07pm
Print Post  
We just found the following - it occurred when drag-highliting over a node that contained a 3D control.  Is the exception information listed enough to work with or would you also require sample code for reproduction purposes?


Many Thanks

Paul Eden



System.NotSupportedException was unhandled
  Message="'GeometryHitTestParameters' HitTestParameters are not supported on 'Viewport3DVisual'."
  Source="PresentationCore"
  StackTrace:
[snip]
      System.Windows.Media.Visual.HitTestGeometry(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, GeometryHitTestParameters geometryParams)
      at System.Windows.Media.Visual.HitTest(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters)
      at System.Windows.Media.VisualTreeHelper.HitTest(Visual reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters)
      at MindFusion.Utilities.HitTest(Visual v, Geometry g)
      at MindFusion.Diagramming.Wpf.DiagramNode.xa170bf38e993d468(Rect x26545669838eb36e)
      at MindFusion.Diagramming.Wpf.Diagram.x98d300fb770bf5ec(Rect x26545669838eb36e, Boolean x201ab38fe5644146)
      at MindFusion.Diagramming.Wpf.Selection.AllowCreate(Point current, InteractionState ist)
      at MindFusion.Diagramming.Wpf.InteractionState.ValidateAndSetCursor(Point point, Diagram diagram)
      at MindFusion.Diagramming.Wpf.Behaviors.BehaviorBase.OnMouseMove(Point mousePosition)
      at MindFusion.Diagramming.Wpf.Diagram.OnPreviewMouseMove(MouseEventArgs e)
      at System.Windows.UIElement.OnPreviewMouseMoveThunk(Object sender, MouseEventArgs e)
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: WPF Diagram 2.2.1.21626 HitTest Exception
Reply #1 - Dec 15th, 2009 at 4:48pm
Print Post  
Hi Paul,

Please check if this version fixes it, and send us some sample code if it doesn’t:
https://mindfusion.eu/_beta/wpfdiag23.zip

Thanks,
Stoyan
  
Back to top
 
IP Logged
 
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
Re: WPF Diagram 2.2.1.21626 HitTest Exception
Reply #2 - Dec 15th, 2009 at 5:00pm
Print Post  
Hi Stoyan


Will do so as soon as I can - many thanks for the fast reply, as usual.


Paul
  
Back to top
WWW  
IP Logged
 
Paul Eden
Full Member
***
Offline



Posts: 128
Joined: Aug 15th, 2007
Re: WPF Diagram 2.2.1.21626 HitTest Exception
Reply #3 - Dec 24th, 2009 at 12:56pm
Print Post  
Hi Stoyan

Initial testing shows that there is no longer an exception thrown, but compared to "drag-selecting" over empty or non-3D areas, "drag-seletcing" over 3D is very slugish.  This may just be due to the nature of betas though.

Hope this helps

Paul.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint