Bug: Gantt view: moving task changes duration #1996
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#1996
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version information:
Frontend Version: try 2022-11-12
API Version: try 2022-11-12
Browser and OS Version: Firefox, MacOS
Steps to reproduce:
...
Expected behavior:
Task duration should stay the same. Only the days should change.
Actual behavior:
Task duration increases.
Moving the task several times back and forth keeps increasing its duration.
My impression is that it's happening at the transition from one week to another.
Can you provide exact steps to reproduce?
The funny thing is - it's not exactly reproducable.
Sometimes the task gets shorter, sometime longer. The exact date transition where it occurs is also not the same...
But try this (also works on my Ubuntu machine with Chrome browser):
Maybe internally the frontend gets the signal that I'm dragging one of the ends? It also happens if I click, hold, move my cursor away vertically, and then go horizontally (so that I don't accidentally touch the ends of a task).
I was able to reproduce this, but as you said not reliably. I suspect a race condition.
Another thing I noticed is the end time of the task is 23:59 but on the gantt chart it shows up as 00:00. Maybe that's related to that.
I was not able to reproduce this anymore. Can you check if it's gone for good?
Same here, I can't reproduce it with
api:20.4
andfrontend:20.5
.Any idea what fixed it?
There have been a few changes and fixes to the Gantt library, maybe one of those fixed it.