Bug 474210

Summary: Previous image is used to plate-solve instead of the current one.
Product: [Applications] kstars Reporter: Szetty <szetty>
Component: generalAssignee: Hy <hymur67>
Status: REPORTED ---    
Severity: major CC: szetty
Priority: NOR    
Version: 3.6.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Szetty 2023-09-06 07:45:32 UTC
SUMMARY
I found that in the latest 3.6.6 release plate-solving somehow got wrong.
After a couple of days of using/testing I figured out that the previous image is used to plate-solve instead of the current one.
This makes incorrect polar alignment and incorrect slew to target.
This was working well in the previous release.

STEPS TO REPRODUCE
1. Connect to all equipment
2. Go to Plate-Solving tab, and start polar-alignment. This takes 3 images and rotates the mount 3 times.
3. Then press Refresh with Plate-solving to enable polar alignment.
4. When the mount is aligned start again the procedure.

OBSERVED RESULT
The result is that, that the previously set-up polar-alignment is wrong. It shows huge difference.

EXPECTED RESULT
Should find the mount to be polar-aligned.

SOFTWARE/OS VERSIONS
kStars version: 3.6.6 Stable - Build: 2023-08-18T09:00:46Z
Linux/KDE Plasma:  Ubuntu 22.04.3 LTS

ADDITIONAL INFORMATION
If I make a trick and stop capturing after the software automatically starts to capture the image and restart it, it receives the current image.