January 18, 2021, 07:13:36 PM

See more Support incidents in our old archived forum.

Author Topic: Task missaligned after moving and reseting  (Read 312 times)

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 47
Task missaligned after moving and reseting
« 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:


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

Best regards
« Last Edit: January 04, 2021, 12:42:02 PM by jan.reker »

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 162
Re: Task missaligned after moving and reseting
« Reply #1 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.

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 162
Re: Task missaligned after moving and reseting
« Reply #2 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

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 47
Re: Task missaligned after moving and reseting
« Reply #3 on: January 04, 2021, 12:42:44 PM »
Thanks, we will have a look at it and get back to you.

Jan

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 47
Re: Task missaligned after moving and reseting
« Reply #4 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

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 162
Re: Task missaligned after moving and reseting
« Reply #5 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.

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 47
Re: Task missaligned after moving and reseting
« Reply #6 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.

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 162
Re: Task missaligned after moving and reseting
« Reply #7 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?

jan.reker

  • Customers
  • Newbie
  • *
  • Posts: 47
Re: Task missaligned after moving and reseting
« Reply #8 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

Rajagopal

  • RQ Members
  • Full Member
  • *
  • Posts: 162
Re: Task missaligned after moving and reseting
« Reply #9 on: Today at 12:18:09 PM »
Jan,

We got your sample and working on it.

Thanks,
Raja.