Trouble setting origin

initial problem

set origin to geometry but still has dotted line

I advance 1 keyframe, object goes back to initial animation spot, even though this is a duplicate object with no parent and no other keyframes other than what you see. now when i go back, the object is permanently in a different area.

this is what happens when i apply all transformations

this is what happens when i set origin then apply all transformations.
i also tried applying every variation of the transforpation (transformation delta, all the other options too, just to see what would happen and, nothing worked).