RadiantQ Forum

Product => WPF Gantt Package => Topic started by: tim on December 14, 2020, 04:06:56 PM

Title: Task missaligned after moving and reseting
Post by: tim on December 14, 2020, 04:06:56 PM
Hello,

I noticed that tasks sometimes are drawn half a row too low, so they overlap with the next row below. When the task is clicked it returns to the correct position.

I modified the last sample program and will send it to support@randiantq.com.
Here is a GIF to reproduce the issue in the sample program:
(https://s10.directupload.net/images/201214/3bsnl5vu.gif)

- Move a task over and beyond another task.
- Click reset button.
Result is that tasks are now positioned too low.

Best regards
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on December 15, 2020, 12:14:04 PM
Hi,

We are able to reproduce this issue in the reference sample, we are looking on this will update you soon.
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on December 18, 2020, 09:49:58 AM
Hi Jan,

While resetting the task's times, we recommend you to use the DelayUpdates utility as shown below,

Code: [Select]
internal void Reset()
{
    using (new DelayUpdates())
    {
        _FlatTasks.ForEach(t => t.Reset());
    }
}

Thanks
Raja
Title: Re: Task missaligned after moving and reseting
Post by: tim on January 04, 2021, 12:42:44 PM
Thanks, we will have a look at it and get back to you.

Jan
Title: Re: Task missaligned after moving and reseting
Post by: tim on January 08, 2021, 12:50:26 PM
Raja,

we tested your suggestion.
In some instances it works and the issue is gone.

But unfortunately it doesn't work for the reset.
Our reset mechanism is more complicated than the one in the sample project and we would rather not share it completely, as there would be much of our code base required.

Is there any other way to solve this issue?

Best regards
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on January 08, 2021, 01:06:54 PM
Hi Jan,

Can you please check with our latest version that we shared today and let us know the status.
Title: Re: Task missaligned after moving and reseting
Post by: tim on January 08, 2021, 03:00:49 PM
I tried it again with the newst version, with and without DelayUpdates().
The issue persists on reset.
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on January 11, 2021, 12:11:00 PM
Hi Jan,

We have tried to reproduce this issue in the reference sample but unfortunately we can't. Can you please provide us the replication procedure?
Title: Re: Task missaligned after moving and reseting
Post by: tim on January 14, 2021, 06:50:22 PM
Raja,

I will send a modified sample project with more description to support@radiantq.com.

Best regards
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on January 18, 2021, 12:18:09 PM
Jan,

We got your sample and working on it.

Thanks,
Raja.
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on January 19, 2021, 03:04:27 PM
Jan,

We can't able to reproduce the issue, please guide us to reproduce.

Thanks,
Raja.
Title: Re: Task missaligned after moving and reseting
Post by: tim on February 01, 2021, 01:35:22 PM
Raja,

the issue is resolved in the latest version, thank you.
Could also send the source code and samples for the latest version?

Best regards
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on February 02, 2021, 01:40:38 PM
Hi Jan,

We will share it with you in email soon.
Title: Re: Task missaligned after moving and reseting
Post by: tim on February 15, 2021, 01:14:01 PM
Hi Raja,

we still did not receive an email. Could you please check this?

Best regards
Jan
Title: Re: Task missaligned after moving and reseting
Post by: Rajagopal on February 15, 2021, 02:34:23 PM
Hi Jan,

We are all set for our official release within a week or two. We will share with you soon.