Save animation progress percent is wrong?

I noticed this today while saving an animation - the progress bar dialog seems to be tied to the value of the time, rather than frame numbers. For example, note in the screenshot below that at time 0.05 (of 1.0) the progress bar says it’s only 5% done, but actually it’s on frame 15 of 42 and should say 36% instead.

Anyone else seeing this?


Client Information:
Version: 5.12.0
VTK Version: 9.3.20231030
Qt Version: 5.15.2
vtkIdType size: 64bits
Embedded Python: On
Python Library Path: C:\Program Files\ParaView 5.12.0\bin\lib
Python Library Version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Python Numpy Support: On
Python Numpy Path: C:\Program Files\ParaView 5.12.0\bin\Lib\site-packages\numpy
Python Numpy Version: 1.25.2
Python Matplotlib Support: On
Python Matplotlib Path: C:\Program Files\ParaView 5.12.0\bin\Lib\site-packages\matplotlib
Python Matplotlib Version: 3.7.2
Python Testing: Off
MPI Enabled: Off
ParaView Build ID: superbuild 2891f7bc1038636e1e1abd941be85832dfd65d01 (!1178)
Disable Registry: Off
Test Directory: 
Data Directory: 
SMP Backend: TBB
SMP Max Number of Threads: 16
OpenGL Vendor: NVIDIA Corporation
OpenGL Version: 3.2.0 NVIDIA 546.33
OpenGL Renderer: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2
Accelerated filters overrides available: No

Connection Information:
Remote Connection: Yes
Separate Render Server: No
Reverse Connection: No
Number of Processes: 8
Disable Remote Rendering: Off
IceT: On
Tile Display: Off
vtkIdType size: 64bits
SMP Backend: TBB
SMP Max Number of Threads: 128
Embedded Python: On
Python Library Path: /home/gvernon2/cf/master/conda_deps_lin64/paraview_headless/lib/python3.10
Python Library Version: 3.10.13 (main, Feb 29 2024, 17:45:57) [GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
Python Numpy Support: On
Python Numpy Path: /home/gvernon2/cf/master/conda_deps_lin64/paraview_headless/lib/python3.10/site-packages/numpy
Python Numpy Version: 1.25.2
Python Matplotlib Support: On
Python Matplotlib Path: /home/gvernon2/.local/lib/python3.10/site-packages/matplotlib
Python Matplotlib Version: 3.6.0
OpenGL Vendor: Mesa
OpenGL Version: 4.5 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1
OpenGL Renderer: llvmpipe (LLVM 15.0.7, 256 bits)
Headless support: EGL 
Accelerated filters overrides available: No

Indeed, this is coherent with the code I see in pqAnimationScene.cxx :

  int progress = static_cast<int>(
    (cueInfo->AnimationTime - cueInfo->StartTime) * 100 / (cueInfo->EndTime - cueInfo->StartTime));

Please open an issue in https://gitlab.kitware.com/paraview/paraview/-/issues

(FYI @nicolas.vuaille )

Thanks for confirming.

Issue: https://gitlab.kitware.com/paraview/paraview/-/issues/22560