drag/drop crash, maybe a DragAndDropManager bug?

2 posts, 0 answers
  1. Frédéric De Lène Mirouze
    Frédéric De Lène Mirouze avatar
    14 posts
    Member since:
    Sep 2009

    Posted 03 Oct 2009 Link to this post

    Hi

    I think I found a bug involving drag/drop on the radscheduler.
    The synopsis is with RadPanel and RadScheduler. I drag an item from the panel and drop it on the scheduler and build an Appointment
    It's working fine in general.

    But if I slowly move the drag cue on an existing Appointment, immediatly when the cursor moves on the text displayed, the DragAndDropManager crashes. It works fine if I don't display Appointment.Subject.

    I was able to solve the issue by creating an appointment template like this:

     

     

    <DataTemplate x:Key="AppointmentTemplate">

     

     

     

    <Border>

     

     

     

    <TextBlock x:Name="PART_SubjectTextBox" Text="{Binding Path=Occurrence.Appointment.Subject}"></TextBlock>

     

     

     

    </Border>

     

     

     

    </DataTemplate>

     


     But I can't see any reason this solves the problem.
    Please find bellow the crash report provided par VS if it may help.

    My system is .NET 3.5, Windows XP Pro French.
    ---------------------------------

    System.NullReferenceException was unhandled by user code
      Message="La référence d'objet n'est pas définie à une instance d'un objet."
      Source="Telerik.Windows.Controls"
      StackTrace:
           à Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.<FindDropZones>b__2(HitTestResult el) dans c:\Builds\WPF_Scrum\Core_WPF_2009_Q2_SP1\Sources\Development\Core\Controls\DragDrop\RadDragAndDropManager.cs:ligne 1148
           à System.Windows.Media.Visual.HitTestPointInternal(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters hitTestParameters)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTestPoint(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, PointHitTestParameters pointParams)
           à System.Windows.Media.Visual.HitTest(HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters)
      InnerException:
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 05 Oct 2009 Link to this post

    Hi Frédéric,

    Yes, unfortunately there is a bug in the DragDrop (an unchecked cast in one of the methods) in the Q2 SP1 version. It will crash every time you drag over the text of an editable TextBox.

    The issue has been resolved in all builds after 20 aug.

    You should not have this issue with the Latest Internal Build or the beta.

    I am sorry for the inconvenience,

    Sincerely yours,
    Miroslav
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top