Capture runs last sequence item when validating an exposure change
Actions:
- Load a multi-item sequence file in Capture.
- Edit the first item, change the left-side exposure field value with the keyboard and validate with the enter key.
Expected:
- Exposure should be changed and updated in the right-side table.
Observed:
- Exposure field is selected, as if validation was effective. However, the interface exits edit mode and the last item of the sequence is processed entirely. When that last item is completed, a preview of the first sequence item is processed.
Additionally, all sequence items have their configuration values shifted up by one item. The table does not reflect that change, but clicking on each item shows field values of their respective next sibling. The first item is lost, and the last item appears duplicated. It is not possible to know from the UI, the sequence should be saved and examined, but that is unnecessary in the context of this issue, the problem is already serious.
The screenshot below illustrates the situation after validating the exposure field in edit mode: the OIII sequence item just got unexpectedly processed, and clicking on the Green sequence item in the table shows the Blue sequence item values in the left form.
Given how the module is implemented, it is very likely the application would crash at any moment with an invalid index access.